Class MathInternalError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.apache.commons.math3.exception.MathIllegalStateException
org.apache.commons.math3.exception.MathInternalError
- All Implemented Interfaces:
Serializable
,ExceptionContextProvider
Exception triggered when something that shouldn't happen does happen.
- Since:
- 2.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimple constructor.MathInternalError
(Throwable cause) Simple constructor.MathInternalError
(Localizable pattern, Object... args) Constructor accepting a localized message. -
Method Summary
Methods inherited from class org.apache.commons.math3.exception.MathIllegalStateException
getContext, getLocalizedMessage, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MathInternalError
public MathInternalError()Simple constructor. -
MathInternalError
Simple constructor.- Parameters:
cause
- root cause
-
MathInternalError
Constructor accepting a localized message.- Parameters:
pattern
- Message pattern explaining the cause of the error.args
- Arguments.
-