kiwi.util
Interface ExceptionHandler


public interface ExceptionHandler

An interface for delivering an exception to a handler without using the try / catch programming construct. Sometimes an exception may be thrown within a method that cannot itself throw an exception, for example if the method is an implementation of an interface and that interface does not define a throws clause for that method's signature.

This interface may be used to deliver caught Exceptions to an appropriate handler, perhaps in a different object altogether.

Author:
Mark Lindner, PING Software Group

Method Summary
 void exceptionRaised(java.lang.Exception ex)
          Handle an exception.
 

Method Detail

exceptionRaised

public void exceptionRaised(java.lang.Exception ex)
Handle an exception.

Parameters:
ex - The exception that was raised.