NullArgumentException) inherit from this class.
In most cases, this class should not be instantiated directly: it should
serve as a base class for implementing exception classes that describe a
specific "problem".
| Modifier and Type | Field and Description |
|---|---|
| private final ExceptionContext | context
Context. |
| private static final long | serialVersionUID
Serializable version Id.
|
| Access | Constructor and Description |
|---|---|
| public | MathRuntimeException(Localizable
Message pattern explaining the cause of the error. pattern, Object... Arguments. args)
|
| Modifier and Type | Method and Description |
|---|---|
| public ExceptionContext | getContext()
Implements org. Gets a reference to the "rich context" data structure that allows to customize error messages and store key, value pairs in exceptions. |
| public String | getLocalizedMessage()
Overrides java. Creates a localized description of this throwable. |
| public String | getMessage()
Overrides java. Returns the detail message string of this throwable. |
| context | back to summary |
|---|---|
| private final ExceptionContext context Context. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. Serializable version Id. | |
| MathRuntimeException | back to summary |
|---|---|
public MathRuntimeException(Localizable pattern, Object... args)
| |
| getContext | back to summary |
|---|---|
| public ExceptionContext getContext() Implements org. Doc from org. Gets a reference to the "rich context" data structure that allows to customize error messages and store key, value pairs in exceptions.
| |
| getLocalizedMessage | back to summary |
|---|---|
| public String getLocalizedMessage() Overrides java. Doc from java. Creates a localized description of this throwable.
Subclasses may override this method in order to produce a
locale-specific message. For subclasses that do not override this
method, the default implementation returns the same result as
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable. | |