jess
Class ErrorHandler.DefaultHandler

java.lang.Object
  extended byjess.ErrorHandler.DefaultHandler
All Implemented Interfaces:
ErrorHandler
Enclosing class:
ErrorHandler

public static class ErrorHandler.DefaultHandler
extends java.lang.Object
implements ErrorHandler

A default error handler implementation that just rethrows the parameter. This handler is used internally by the implementations of "batch".


Nested Class Summary
 
Nested classes inherited from class jess.ErrorHandler
ErrorHandler.DefaultHandler
 
Constructor Summary
ErrorHandler.DefaultHandler()
           
 
Method Summary
 void handleError(JessException ex)
          When an error occurs during parsing, this method will be called.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandler.DefaultHandler

public ErrorHandler.DefaultHandler()
Method Detail

handleError

public void handleError(JessException ex)
                 throws JessException
Description copied from interface: ErrorHandler
When an error occurs during parsing, this method will be called.

Specified by:
handleError in interface ErrorHandler
Parameters:
ex - the error that has occurred
Throws:
JessException - to abort parsing, rethrow the exception parameter

© 2007 Sandia Corporation