cz.cuni.amis.pogamut.base.component.bus.event
Interface IFatalErrorEvent<SOURCE extends IComponent>

All Superinterfaces:
IComponentEvent<SOURCE>
All Known Implementing Classes:
ComponentBusErrorEvent, FatalErrorEvent, FatalErrorPropagatingEvent

public interface IFatalErrorEvent<SOURCE extends IComponent>
extends IComponentEvent<SOURCE>

Marks that fatal error has happened that prevents the component from running.

It is strongly advised to override toString() as in ${link FatalErrorEvent.


Method Summary
 java.lang.Throwable getCause()
          Exception associated with the error, may be null.
 java.lang.String getMessage()
          Returns description of what went wrong.
 java.lang.StackTraceElement[] getStackTrace()
          Stack trace of the error - first element of the stacktrace should be the place where the fatal error event has been created.
 java.lang.String getSummary()
          Called to get a long human-readable description of the fatal error.
 
Methods inherited from interface cz.cuni.amis.pogamut.base.component.bus.IComponentEvent
getSource
 

Method Detail

getMessage

java.lang.String getMessage()
Returns description of what went wrong.

Returns:

getCause

java.lang.Throwable getCause()
Exception associated with the error, may be null.

Returns:

getStackTrace

java.lang.StackTraceElement[] getStackTrace()
Stack trace of the error - first element of the stacktrace should be the place where the fatal error event has been created.

Returns:

getSummary

java.lang.String getSummary()
Called to get a long human-readable description of the fatal error.