JAPI 0.9.0
Yet another Java API
API Documentation

net.sf.japi.util
Interface ThrowableHandler<T extends Throwable>

All Superinterfaces:
EventListener
All Known Implementing Classes:
PrintStreamThrowableHandler

public interface ThrowableHandler<T extends Throwable>
extends EventListener

Interface that is implemented by classes that handle exceptions via callbacks. This is useful during operations that can throw more than one exception during an operation. Even more, when these exceptions eventually are more or less recoverable.

Author:
Christian Hujer

Method Summary
 void handleThrowable(T t)
          Handle a Throwable.
 

Method Detail

handleThrowable

void handleThrowable(T t)
Handle a Throwable.

Parameters:
t - Throwable to handle

JAPI
Yet another Java API
API Documentation

© 2005-2006 Christian Hujer. All rights reserved. See copyright