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 public class MathArithmeticException extends MathRuntimeException
Deprecated.as of 1.0, replaced withMathRuntimeException
Base class for arithmetic exceptions. It is used for all the exceptions that have the semantics of the standardArithmeticException
, but must also provide a localized message.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MathArithmeticException()
Deprecated.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 Detail
-
MathArithmeticException
public MathArithmeticException()
Deprecated.Default constructor.
-
MathArithmeticException
public MathArithmeticException(Localizable pattern, Object... args)
Deprecated.Constructor with a specific message.- Parameters:
pattern
- Message pattern providing the specific context of the error.args
- Arguments.
-
-