public class MathIllegalArgumentException extends java.lang.IllegalArgumentException implements ExceptionContextProvider
IllegalArgumentException.| Modifier and Type | Field and Description |
|---|---|
private ExceptionContext |
context
Context.
|
private static long |
serialVersionUID
Serializable version Id.
|
| Constructor and Description |
|---|
MathIllegalArgumentException(Localizable pattern,
java.lang.Object... args) |
| 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() |
private static final long serialVersionUID
private final ExceptionContext context
public MathIllegalArgumentException(Localizable pattern, java.lang.Object... args)
pattern - Message pattern explaining the cause of the error.args - Arguments.public ExceptionContext getContext()
getContext in interface ExceptionContextProviderpublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getLocalizedMessage()
getLocalizedMessage in class java.lang.ThrowableCopyright (c) 2003-2015 Apache Software Foundation