org.addsimplicity.anicetus.io
Interface ExceptionHandler

All Known Implementing Classes:
SystemErrorExceptionHandler

public interface ExceptionHandler

The exception handler interface provides a notification mechanism for applications to handle exceptions that occur during the publishing of telemetry to the bus.

Author:
Dan Pritchett (driveawedge@yahoo.com)

Method Summary
 void exceptionCaught(java.lang.Throwable exception)
          The exceptionCaught method will be invoked if an exception occurs during telemetry publication.
 

Method Detail

exceptionCaught

void exceptionCaught(java.lang.Throwable exception)
The exceptionCaught method will be invoked if an exception occurs during telemetry publication. Note that if this method throws an exception, the side effects are indeterminate as the caller of this method is already inside of a catch block.

Parameters:
exception - The exception that was caught.


Copyright © 2009 Add Simplicity. All Rights Reserved.