org.ckkloverdos.error
Class StdLogErrorHandler

java.lang.Object
  extended by org.ckkloverdos.error.StdLogErrorHandler
All Implemented Interfaces:
IErrorHandler

public class StdLogErrorHandler
extends java.lang.Object
implements IErrorHandler

An implementation of IErrorHandler that delegates to StdLog.

Author:
Christos KK Loverdos

Constructor Summary
StdLogErrorHandler()
           
 
Method Summary
 boolean handleError(java.lang.Throwable t, java.lang.Object where, java.lang.Object problematic, java.lang.Object hints)
          Handles an error an returns true iff the error is manageable, meaning that normal processsing should resume.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdLogErrorHandler

public StdLogErrorHandler()
Method Detail

handleError

public boolean handleError(java.lang.Throwable t,
                           java.lang.Object where,
                           java.lang.Object problematic,
                           java.lang.Object hints)
Description copied from interface: IErrorHandler
Handles an error an returns true iff the error is manageable, meaning that normal processsing should resume. It is up to the client code to decide what to do based on the return value.

Specified by:
handleError in interface IErrorHandler


Copyright © 1999-2007 Christos KK Loverdos. All Rights Reserved.