|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--uk.org.ogsadai.exception.DAIException | +--uk.org.ogsadai.exception.DAIOutOfBoundsException
Exception thrown when a numerical value is out of bounds.
Associated with error ID:
uk.org.ogsadai.NUMBER_OUT_OF_BOUNDS_ERROR
and
uk.org.ogsadai.NUMBER_LESS_THAN_BOUNDS_ERROR
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright |
Fields inherited from class uk.org.ogsadai.exception.DAIException |
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
DAIOutOfBoundsException(float value,
float lower)
Constructor. |
|
DAIOutOfBoundsException(float value,
float lower,
float upper)
Constructor. |
|
DAIOutOfBoundsException(int value,
int lower)
Constructor. |
|
DAIOutOfBoundsException(int value,
int lower,
int upper)
Constructor. |
|
DAIOutOfBoundsException(long value,
long lower)
Constructor. |
|
DAIOutOfBoundsException(long value,
long lower,
long upper)
Constructor. |
Methods inherited from class uk.org.ogsadai.exception.DAIException |
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
Constructor Detail |
public DAIOutOfBoundsException(int value, int lower, int upper)
value
- Out of bounds value.lower
- Lower acceptable bound.upper
- Upper acceptable bound.public DAIOutOfBoundsException(float value, float lower, float upper)
value
- Out of bounds value.lower
- Lower acceptable bound.upper
- Upper acceptable bound.public DAIOutOfBoundsException(long value, long lower, long upper)
value
- Out of bounds value.lower
- Lower acceptable bound.upper
- Upper acceptable bound.public DAIOutOfBoundsException(int value, int lower)
value
- Out of bounds value.lower
- Lower acceptable bound.public DAIOutOfBoundsException(float value, float lower)
value
- Out of bounds value.lower
- Lower acceptable bound.public DAIOutOfBoundsException(long value, long lower)
value
- Out of bounds value.lower
- Lower acceptable bound.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |