org.apache.commons.math3.exception
public class MathIllegalArgumentException extends IllegalArgumentException implements ExceptionContextProvider
IllegalArgumentException.| Constructor and Description |
|---|
MathIllegalArgumentException(Localizable pattern,
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.
|
String |
getLocalizedMessage() |
String |
getMessage() |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MathIllegalArgumentException(Localizable pattern, Object... args)
pattern - Message pattern explaining the cause of the error.args - Arguments.public ExceptionContext getContext()
getContext in interface ExceptionContextProviderpublic String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class ThrowableCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.