QScript  2.1.2
Expression and algorithm evaluator
 All Classes Namespaces Functions Variables Pages
Public Member Functions | List of all members
org.qscript.eventsonfire.DefaultErrorHandler Class Reference

Inherits org.qscript.eventsonfire.ErrorHandler.

Public Member Functions

 DefaultErrorHandler ()
 
 DefaultErrorHandler (PrintStream stream)
 
void invocationFailed (final Method method, final String message, final Throwable cause, final Object producer, final Object consumer, final Object event, String...tags)
 
void unhandledException (final String message, final Throwable cause)
 
void interrupted (InterruptedException e)
 
- Public Member Functions inherited from org.qscript.eventsonfire.ErrorHandler
void invocationFailed (Method method, String message, Throwable cause, Object producer, Object consumer, Object event, String...tags)
 
void unhandledException (String message, Throwable cause)
 

Detailed Description

Default implementation of the ErrorHandler. Writes messages to writer.

Author
Manfred HANTSCHEL

Constructor & Destructor Documentation

org.qscript.eventsonfire.DefaultErrorHandler.DefaultErrorHandler ( )

Default constructor for the error handler, writes to System.err

org.qscript.eventsonfire.DefaultErrorHandler.DefaultErrorHandler ( PrintStream  stream)

Creates an error handler using the specified stream

Parameters
streamthe stream

Member Function Documentation

void org.qscript.eventsonfire.DefaultErrorHandler.interrupted ( InterruptedException  e)

Called if the event thread got interrupted.

Parameters
ethe interrupted exception

Implements org.qscript.eventsonfire.ErrorHandler.

void org.qscript.eventsonfire.DefaultErrorHandler.invocationFailed ( final Method  method,
final String  message,
final Throwable  cause,
final Object  producer,
final Object  consumer,
final Object  event,
String...  tags 
)
void org.qscript.eventsonfire.DefaultErrorHandler.unhandledException ( final String  message,
final Throwable  cause 
)

The documentation for this class was generated from the following file: