org.apache.commons.math.ode.events
Class EventException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.math.MathException
              extended by org.apache.commons.math.ode.events.EventException
All Implemented Interfaces:
Serializable

public class EventException
extends MathException

This exception is made available to users to report the error conditions that are triggered by EventHandler

Since:
2.0
Version:
$Revision: 670469 $ $Date: 2008-06-23 10:01:38 +0200 (lun, 23 jun 2008) $
See Also:
Serialized Form

Constructor Summary
EventException(String specifier, Object[] parts)
          Simple constructor.
EventException(Throwable cause)
          Create an exception with a given root cause.
 
Method Summary
 
Methods inherited from class org.apache.commons.math.MathException
getArguments, getCause, getMessage, getPattern, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventException

public EventException(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)

EventException

public EventException(Throwable cause)
Create an exception with a given root cause.

Parameters:
cause - the exception or error that caused this exception to be thrown


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.