Class MathArithmeticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hipparchus.exception.MathRuntimeException
org.hipparchus.migration.exception.MathArithmeticException
- All Implemented Interfaces:
Serializable
,LocalizedException
Deprecated.
Base class for arithmetic exceptions.
It is used for all the exceptions that have the semantics of the standard
ArithmeticException
, but must also provide a localized
message.- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated.Default constructor.MathArithmeticException
(Localizable pattern, Object... args) Deprecated.Constructor with a specific message. -
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
-
Constructor Details
-
MathArithmeticException
public MathArithmeticException()Deprecated.Default constructor. -
MathArithmeticException
Deprecated.Constructor with a specific message.- Parameters:
pattern
- Message pattern providing the specific context of the error.args
- Arguments.
-
MathRuntimeException