|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.apache.commons.nabla.DifferentiationException
public class DifferentiationException
This class represent differentiation exceptions.
Exceptions of this type are thrown when a class cannot be differentiated.
Constructor Summary | |
---|---|
DifferentiationException()
Default constructor. |
|
DifferentiationException(org.apache.commons.math3.exception.util.Localizable pattern,
Object... args)
Constructor with a specific message. |
Method Summary | |
---|---|
static IllegalArgumentException |
createIllegalArgumentException(org.apache.commons.math3.exception.util.Localizable specifier,
Object... parts)
Create an IllegalArgumentException with localized message. |
static RuntimeException |
createInternalError(Throwable cause)
Create an RuntimeException for an internal error. |
org.apache.commons.math3.exception.util.ExceptionContext |
getContext()
|
String |
getLocalizedMessage()
|
String |
getMessage()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DifferentiationException()
public DifferentiationException(org.apache.commons.math3.exception.util.Localizable pattern, Object... args)
pattern
- Message pattern providing the specific context of
the error.args
- Arguments.Method Detail |
---|
public org.apache.commons.math3.exception.util.ExceptionContext getContext()
getContext
in interface org.apache.commons.math3.exception.util.ExceptionContextProvider
public String getMessage()
getMessage
in class Throwable
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public static IllegalArgumentException createIllegalArgumentException(org.apache.commons.math3.exception.util.Localizable specifier, Object... parts)
IllegalArgumentException
with localized message.
specifier
- format specifier (to be translated)parts
- parts to insert in the format (no translation)
IllegalArgumentException
with localized messagepublic static RuntimeException createInternalError(Throwable cause)
RuntimeException
for an internal error.
cause
- underlying cause
RuntimeException
for an internal error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |