Class MathIllegalNumberException

All Implemented Interfaces:
Serializable, LocalizedException
Direct Known Subclasses:
DimensionMismatchException, NonMonotonicSequenceException, NotANumberException, NotFiniteNumberException, NumberIsTooLargeException, NumberIsTooSmallException, OutOfRangeException, ZeroException

@Deprecated public class MathIllegalNumberException extends MathIllegalArgumentException
Deprecated.
as of 1.0, this exception is replaced by 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.
See Also:
  • Field Details

    • INTEGER_ZERO

      protected static final Integer INTEGER_ZERO
      Deprecated.
      Helper to avoid boxing warnings. @since 3.3
  • Constructor Details

    • MathIllegalNumberException

      protected MathIllegalNumberException(Localizable pattern, Number wrong, Object... arguments)
      Deprecated.
      Construct an exception.
      Parameters:
      pattern - Localizable pattern.
      wrong - Wrong number.
      arguments - Arguments.
  • Method Details

    • getArgument

      public Number getArgument()
      Deprecated.
      Get argument.
      Returns:
      argument