|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.apache.commons.math3.exception.MathIllegalStateException
public class MathIllegalStateException
Base class for all exceptions that signal a mismatch between the current state and the user's expectations.
| Constructor Summary | |
|---|---|
MathIllegalStateException()
Default constructor. |
|
MathIllegalStateException(Localizable pattern,
Object... args)
Simple constructor. |
|
MathIllegalStateException(Throwable cause,
Localizable pattern,
Object... args)
Simple constructor. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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()
| Method Detail |
|---|
public ExceptionContext getContext()
getContext in interface ExceptionContextProviderpublic String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||