public class MathIllegalStateException extends java.lang.IllegalStateException implements ExceptionContextProvider
Constructor and Description |
---|
MathIllegalStateException()
Default constructor.
|
MathIllegalStateException(Localizable pattern,
java.lang.Object... args)
Simple constructor.
|
MathIllegalStateException(java.lang.Throwable cause,
Localizable pattern,
java.lang.Object... args)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
ExceptionContext |
getContext()
Gets a reference to the "rich context" data structure that allows to
customize error messages and store key, value pairs in exceptions.
|
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getMessage() |
public MathIllegalStateException(Localizable pattern, java.lang.Object... args)
pattern
- Message pattern explaining the cause of the error.args
- Arguments.public MathIllegalStateException(java.lang.Throwable cause, Localizable pattern, java.lang.Object... args)
cause
- Root cause.pattern
- Message pattern explaining the cause of the error.args
- Arguments.public MathIllegalStateException()
public ExceptionContext getContext()
getContext
in interface ExceptionContextProvider
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable