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

Package class diagram package IFatalErrorEvent
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
 Throwable getCause()
          Exception associated with the error, may be null.
 String getMessage()
          Returns description of what went wrong.
 StackTraceElement[] getStackTrace()
          Stack trace of the error - first element of the stacktrace should be the place where the fatal error event has been created.
 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

String getMessage()
Returns description of what went wrong.

Returns:

getCause

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

Returns:

getStackTrace

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

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



Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.