|
||||||||||
| 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
public class MathIllegalNumberException
Base class for exceptions raised by a wrong number. This class is not intended to be instantiated directly: it should serve as a base class to create all the exceptions that are raised because some precondition is violated by a number argument.
| Constructor Summary | |
|---|---|
protected |
MathIllegalNumberException(Localizable pattern,
java.lang.Number wrong,
java.lang.Object... arguments)
Construct an exception. |
| Method Summary | |
|---|---|
java.lang.Number |
getArgument()
|
| Methods inherited from class org.apache.commons.math.exception.MathIllegalArgumentException |
|---|
getContext, getLocalizedMessage, getMessage |
| 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 |
| Constructor Detail |
|---|
protected MathIllegalNumberException(Localizable pattern,
java.lang.Number wrong,
java.lang.Object... arguments)
pattern - Localizable pattern.wrong - Wrong number.arguments - Arguments.| Method Detail |
|---|
public java.lang.Number getArgument()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||