org.apache.commons.math.exception
Class MathIllegalNumberException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.apache.commons.math.exception.MathIllegalArgumentException
                      extended by org.apache.commons.math.exception.MathIllegalNumberException
All Implemented Interfaces:
Serializable, MathThrowable
Direct Known Subclasses:
DimensionMismatchException, NonMonotonousSequenceException, NumberIsTooLargeException, NumberIsTooSmallException, OutOfRangeException, ZeroException

public class MathIllegalNumberException
extends MathIllegalArgumentException

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.

Since:
2.2
See Also:
Serialized Form

Method Summary
 Number 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getArgument

public Number getArgument()
Returns:
the requested value.


jHepWork 3.0 ©