|
Sea 0.4.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException gov.lbl.dsd.sea.event.ExceptionEvent
A generic runtime exception that can be thrown when a problem occurs within
EventHandler.handle(java.lang.Object)
.
If appropriate, you can enqueue an instance of this class onto a stage.
Constructor Summary | |
ExceptionEvent(Object causingEvent,
Stage source)
Constructs a new exception. |
|
ExceptionEvent(String message,
Throwable cause,
Object causingEvent,
Stage source)
Constructs a new exception. |
|
ExceptionEvent(Throwable cause,
Object causingEvent,
Stage source)
Constructs a new exception. |
Method Summary | |
Object |
getCausingEvent()
|
Stage |
getSource()
|
String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ExceptionEvent(Object causingEvent, Stage source)
causingEvent
- the event that caused the exception.source
- the stage that could not properly handle the causing event.public ExceptionEvent(Throwable cause, Object causingEvent, Stage source)
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)causingEvent
- the event that caused the exception.source
- the stage that could not properly handle the causing event.public ExceptionEvent(String message, Throwable cause, Object causingEvent, Stage source)
message
- the detail message. The detail message is saved for later
retrieval by the Throwable.getMessage()
method.cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)causingEvent
- the event that caused the exception.source
- the stage that could not properly handle the causing event.Method Detail |
public Object getCausingEvent()
public Stage getSource()
public String toString()
|
Sea 0.4.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |