|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jtiger.framework.PositionOutOfBoundsException
public final class PositionOutOfBoundsException
An exception that is thrown when a structure's position is specified that is outside of the permissible bounds for that structure.
| Constructor Summary | |
|---|---|
PositionOutOfBoundsException(int position)
Construct a PositionOutOfBoundsException with the given position. |
|
PositionOutOfBoundsException(int position,
String message)
Construct a PositionOutOfBoundsException with the given position and message. |
|
PositionOutOfBoundsException(int position,
String message,
Throwable cause)
Construct a PositionOutOfBoundsException with the given position, message and cause. |
|
PositionOutOfBoundsException(int position,
Throwable cause)
Construct a PositionOutOfBoundsException with the given position and cause. |
|
| Method Summary | |
|---|---|
int |
getPosition()
Returns the position that is outside of the permissible bounds for this structure. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PositionOutOfBoundsException(int position)
position - The position that is outside of the permissible bounds.
public PositionOutOfBoundsException(int position,
String message)
position - The position that is outside of the permissible bounds.message - The exception message.
public PositionOutOfBoundsException(int position,
Throwable cause)
position - The position that is outside of the permissible bounds.cause - The cause of this exception.
public PositionOutOfBoundsException(int position,
String message,
Throwable cause)
position - The position that is outside of the permissible bounds.message - The exception message.cause - The cause of this exception.| Method Detail |
|---|
public int getPosition()
getPosition in interface Positionable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||