|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
de.cau.cs.kieler.sim.kiem.KiemExecutionException
public class KiemExecutionException
The Class KiemExecutionException. This exception is used by DataComponents to flag errors within
their step() method during the execution. If the mustStop
flag is set to true, then this
means the execution *MUST* stop, and will be immediately stopped by the execution manager. Note
that the execution manager tries to stop all threads but cannot guarantee that they really
terminate (e.g., when a deadlock occurred). In the latter case there will be zombie threads but
the execution manager and the eclipse instance is not affected as long as the left memory is
still enough.
Constructor Summary | |
---|---|
KiemExecutionException(String message,
boolean mustStopParam,
boolean mustPauseParam,
boolean silentParam,
Exception causeParam)
Instantiates a new KiemExecutionException. |
|
KiemExecutionException(String message,
boolean mustStopParam,
Exception causeParam)
Instantiates a new KiemExecutionException. |
Method Summary | |
---|---|
Exception |
getCause()
Gets the cause of this Exception. |
boolean |
isMustPause()
Checks if the execution must pause when this Exception occurs. |
boolean |
isMustStop()
Checks if the execution must stop when this Exception occurs. |
boolean |
isSilent()
Checks if KIEM should omit an error or warning message dialog when this Exception occurs. |
Methods inherited from class java.lang.Throwable |
---|
getMessage, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KiemExecutionException(String message, boolean mustStopParam, boolean mustPauseParam, boolean silentParam, Exception causeParam)
message
- the message of this Exception to display to the usermustStopParam
- the must stop flag indicating if the execution must stopcauseParam
- the cause of this Exception if any, or null otherwisemustPauseParam
- the must pause flag indicating if the execution must pausesilentParam
- the silent param flags that KIEM omits any message dialogpublic KiemExecutionException(String message, boolean mustStopParam, Exception causeParam)
message
- the message of this Exception to display to the usermustStopParam
- the must stop flag indicating if the execution must stopcauseParam
- the cause of this Exception if any, or null otherwiseMethod Detail |
---|
public boolean isMustStop()
public Exception getCause()
public boolean isMustPause()
public boolean isSilent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |