Class MathIllegalNumberException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hipparchus.exception.MathRuntimeException
org.hipparchus.exception.MathIllegalArgumentException
org.hipparchus.migration.exception.MathIllegalNumberException
- All Implemented Interfaces:
Serializable
,LocalizedException
- Direct Known Subclasses:
DimensionMismatchException
,NonMonotonicSequenceException
,NotANumberException
,NotFiniteNumberException
,NumberIsTooLargeException
,NumberIsTooSmallException
,OutOfRangeException
,ZeroException
Deprecated.
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 Summary
Modifier and TypeFieldDescriptionprotected static final Integer
Deprecated.Helper to avoid boxing warnings. -
Constructor Summary
ModifierConstructorDescriptionprotected
MathIllegalNumberException
(Localizable pattern, Number wrong, Object... arguments) Deprecated.Construct an exception. -
Method Summary
Methods inherited from class org.hipparchus.exception.MathRuntimeException
createInternalError, createInternalError, getLocalizedMessage, getMessage, getMessage, getParts, getSpecifier
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
INTEGER_ZERO
Deprecated.Helper to avoid boxing warnings. @since 3.3
-
-
Constructor Details
-
MathIllegalNumberException
Deprecated.Construct an exception.- Parameters:
pattern
- Localizable pattern.wrong
- Wrong number.arguments
- Arguments.
-
-
Method Details
-
getArgument
Deprecated.Get argument.- Returns:
- argument
-
MathIllegalArgumentException