|
|||||||||
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
org.apache.commons.math.exception.MathIllegalArgumentException
org.apache.commons.math.exception.MathIllegalNumberException
org.apache.commons.math.exception.NumberIsTooSmallException
org.apache.commons.math.exception.NotPositiveException
public class NotPositiveException
Exception to be thrown when the argument is negative.
Field Summary | |
---|---|
private static long |
serialVersionUID
Serializable version Id. |
Constructor Summary | |
---|---|
NotPositiveException(Localizable specific,
java.lang.Number value)
Construct the exception with a specific context. |
|
NotPositiveException(java.lang.Number value)
Construct the exception. |
Method Summary |
---|
Methods inherited from class org.apache.commons.math.exception.NumberIsTooSmallException |
---|
getBoundIsAllowed, getMin |
Methods inherited from class org.apache.commons.math.exception.MathIllegalNumberException |
---|
getArgument |
Methods inherited from class org.apache.commons.math.exception.MathIllegalArgumentException |
---|
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getSpecificPattern |
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 long serialVersionUID
Constructor Detail |
---|
public NotPositiveException(java.lang.Number value)
value
- Argument.public NotPositiveException(Localizable specific, java.lang.Number value)
specific
- Specific context where the error occurred.value
- Argument.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |