Class MathInternalError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.math4.exception.MathRuntimeException
org.apache.commons.math4.exception.MathIllegalStateException
org.apache.commons.math4.exception.MathInternalError
- All Implemented Interfaces:
java.io.Serializable,ExceptionContextProvider
public class MathInternalError extends MathIllegalStateException
Exception triggered when something that shouldn't happen does happen.
- Since:
- 2.2
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MathInternalError()Simple constructor.MathInternalError(java.lang.Throwable cause)Simple constructor.MathInternalError(Localizable pattern, java.lang.Object... args)Constructor accepting a localized message. -
Method Summary
Methods inherited from class org.apache.commons.math4.exception.MathRuntimeException
getContext, getLocalizedMessage, getMessage
-
Constructor Details
-
MathInternalError
public MathInternalError()Simple constructor. -
MathInternalError
public MathInternalError(java.lang.Throwable cause)Simple constructor.- Parameters:
cause- root cause
-
MathInternalError
Constructor accepting a localized message.- Parameters:
pattern- Message pattern explaining the cause of the error.args- Arguments.
-