org.apache.commons.math3.exception
public class NotPositiveException extends NumberIsTooSmallException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Serializable version Id.
|
Constructor and Description |
---|
NotPositiveException(Localizable specific,
Number value)
Construct the exception with a specific context.
|
NotPositiveException(Number value)
Construct the exception.
|
getBoundIsAllowed, getMin
getArgument
getContext, getLocalizedMessage, getMessage
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
public NotPositiveException(Number value)
value
- Argument.public NotPositiveException(Localizable specific, Number value)
specific
- Specific context where the error occurred.value
- Argument.Copyright (c) 2003-2013 Apache Software Foundation