Package org.apache.commons.math.ode
Class DerivativeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.math.MathException
-
- org.apache.commons.math.ode.DerivativeException
-
- All Implemented Interfaces:
Serializable
,MathThrowable
public class DerivativeException extends MathException
This exception is made available to users to report the error conditions that are triggered while computing the differential equations.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DerivativeException(String specifier, Object... parts)
Simple constructor.DerivativeException(Throwable cause)
Build an instance from an underlying cause.DerivativeException(Localizable specifier, Object... parts)
Simple constructor.
-
Method Summary
-
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DerivativeException
public DerivativeException(String specifier, Object... parts)
Simple constructor. Build an exception by translating and formating a message- Parameters:
specifier
- format specifier (to be translated)parts
- to insert in the format (no translation)
-
DerivativeException
public DerivativeException(Localizable specifier, Object... parts)
Simple constructor. Build an exception by translating and formating a message- Parameters:
specifier
- format specifier (to be translated)parts
- to insert in the format (no translation)- Since:
- 2.2
-
DerivativeException
public DerivativeException(Throwable cause)
Build an instance from an underlying cause.- Parameters:
cause
- cause for the exception
-
-