public class MathUnsupportedOperationException extends UnsupportedOperationException implements ExceptionContextProvider
UnsupportedOperationException
, but must also provide a localized
message.Constructor and Description |
---|
MathUnsupportedOperationException()
Default constructor.
|
MathUnsupportedOperationException(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() |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MathUnsupportedOperationException()
public MathUnsupportedOperationException(Localizable pattern, Object... args)
pattern
- Message pattern providing the specific context of
the error.args
- Arguments.public ExceptionContext getContext()
getContext
in interface ExceptionContextProvider
public String getMessage()
getMessage
in class Throwable
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.