de.cau.cs.kieler.sim.kiem
Class KiemInitializationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.cau.cs.kieler.sim.kiem.KiemInitializationException
All Implemented Interfaces:
Serializable

public class KiemInitializationException
extends Exception

The Class KiemInitializationException. This exception is used by DataComponents to flag errors within their initialization() and their wrapup() method during the initialization and wrap-up phase. If the mustStop flag is set to true, then this means the execution CANNOT been started and the execution manager will not do so if any DataComponent throws an error with this flag.

See Also:
Serialized Form
Rating yellow
(2009-01-15)

Constructor Summary
KiemInitializationException(String message, boolean mustStopParam, Exception causeParam)
          Instantiates a new KiemInitializationException.
 
Method Summary
 Exception getCause()
          Gets the cause of this Exception.
 boolean isMustStop()
          Checks if the execution must stop when this Exception occurs.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, 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

KiemInitializationException

public KiemInitializationException(String message,
                                   boolean mustStopParam,
                                   Exception causeParam)
Instantiates a new KiemInitializationException.

Parameters:
message - the message of this Exception to display to the user
mustStopParam - the must stop flag indicating if the execution must stop
causeParam - the cause of this Exception if any, or null otherwise
Method Detail

isMustStop

public boolean isMustStop()
Checks if the execution must stop when this Exception occurs.

Returns:
true, if execution must stop

getCause

public Exception getCause()
Gets the cause of this Exception.

Overrides:
getCause in class Throwable
Returns:
the cause of this Exception, if any