|
||||||||||
| 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
java.lang.IllegalArgumentException
com.flagstone.transform.exception.IllegalArgumentRangeException
public final class IllegalArgumentRangeException
IllegalArgumentValueException is thrown when a value is used that is not within a pre-defined range.
| Constructor Summary | |
|---|---|
IllegalArgumentRangeException(int start,
int end,
int actual)
Creates an IllegalArgumentRangeException with the range of expected values and the actual value used. |
|
| Method Summary | |
|---|---|
int |
getLower()
Get the lower value of the expected range. |
int |
getUpper()
Get the upper value of the expected range. |
int |
getValue()
Get the actual value that triggered the exception. |
| 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 IllegalArgumentRangeException(int start,
int end,
int actual)
start - the start of the expected range.end - the end of the expected range inclusive.actual - the actual value used.| Method Detail |
|---|
public int getLower()
public int getUpper()
public int getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||