|
||||||||||
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
sbrt.kernel.math.IllegalBoundsException
public class IllegalBoundsException
This class is used to indicate the existence of illegal bounds. Bounds are considered illegal if the upper bound is less than the lower bound.
Constructor Summary | |
---|---|
IllegalBoundsException(double lower,
double upper)
Constructs a new illegal bounds exception from the provided lower and upper bounds. |
|
IllegalBoundsException(java.lang.Number lower,
java.lang.Number upper)
Constructs a new illegal bounds exception from the provided lower and upper bounds. |
|
IllegalBoundsException(java.lang.Object obj,
double lower,
double upper)
Constructs a new illegal bounds exception from the provided lower and upper bounds. |
|
IllegalBoundsException(java.lang.Object obj,
java.lang.Number lower,
java.lang.Number upper)
Constructs a new illegal bounds exception from the provided lower and upper bounds. |
Method Summary | |
---|---|
java.lang.Number |
getLower()
Returns the lower bound used to create this exception. |
java.lang.Number |
getUpper()
Returns the upper bound used to create this exception. |
java.lang.Object |
getVariable()
Returns the object with which these illegal bounds are associated. |
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 IllegalBoundsException(java.lang.Number lower, java.lang.Number upper)
lower
- the lower bound.upper
- the upper bound.public IllegalBoundsException(double lower, double upper)
lower
- the lower bound.upper
- the upper bound.public IllegalBoundsException(java.lang.Object obj, double lower, double upper)
obj
- an object with which these illegal bounds are associated.lower
- the lower bound.upper
- the upper bound.public IllegalBoundsException(java.lang.Object obj, java.lang.Number lower, java.lang.Number upper)
obj
- an object with which these illegal bounds are associated.lower
- the lower bound.upper
- the upper bound.Method Detail |
---|
public java.lang.Object getVariable()
null
if no such object exists.public java.lang.Number getLower()
public java.lang.Number getUpper()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |