Class EventException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.math.MathException
-
- org.apache.commons.math.ode.events.EventException
-
- All Implemented Interfaces:
java.io.Serializable
,MathThrowable
public class EventException extends MathException
This exception is made available to users to report the error conditions that are triggered byEventHandler
- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventException(java.lang.String specifier, java.lang.Object... parts)
Deprecated.as of 2.2 replaced byEventException(Localizable, Object...)
EventException(java.lang.Throwable cause)
Create an exception with a given root cause.EventException(Localizable specifier, java.lang.Object... parts)
Simple constructor.
-
Method Summary
-
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
-
-
-
-
Constructor Detail
-
EventException
@Deprecated public EventException(java.lang.String specifier, java.lang.Object... parts)
Deprecated.as of 2.2 replaced byEventException(Localizable, Object...)
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)
-
EventException
public EventException(Localizable specifier, java.lang.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
-
EventException
public EventException(java.lang.Throwable cause)
Create an exception with a given root cause.- Parameters:
cause
- the exception or error that caused this exception to be thrown
-
-