public class MathIllegalStateException extends IllegalStateException implements ExceptionContextProvider
Constructor and Description |
---|
MathIllegalStateException()
Default constructor.
|
MathIllegalStateException(Localizable pattern,
Object... args)
Simple constructor.
|
MathIllegalStateException(Throwable cause,
Localizable pattern,
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.
|
String |
getLocalizedMessage() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MathIllegalStateException(Localizable pattern, Object... args)
pattern
- Message pattern explaining the cause of the error.args
- Arguments.public MathIllegalStateException(Throwable cause, Localizable pattern, 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 String getMessage()
getMessage
in class Throwable
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
Jas4pp 1.5 © Java Analysis Studio for Particle Physics