org.addsimplicity.anicetus.io
Class SystemErrorExceptionHandler

java.lang.Object
  extended by org.addsimplicity.anicetus.io.SystemErrorExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class SystemErrorExceptionHandler
extends java.lang.Object
implements ExceptionHandler

The default exception handler. It is registered automatically in all cases where an exception handler can be provided.

Author:
Dan Pritchett (driveawedge@yahoo.com)

Constructor Summary
SystemErrorExceptionHandler()
           
 
Method Summary
 void exceptionCaught(java.lang.Throwable exception)
          Dump the exception to System.err.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemErrorExceptionHandler

public SystemErrorExceptionHandler()
Method Detail

exceptionCaught

public void exceptionCaught(java.lang.Throwable exception)
Dump the exception to System.err.

Specified by:
exceptionCaught in interface ExceptionHandler
Parameters:
exception - The exception that was caught.


Copyright © 2009 Add Simplicity. All Rights Reserved.