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 ExceptionContextProvider
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
Copyright (c) 2003-2013 Apache Software Foundation