TUM CCSM Commons

edu.tum.cs.commons.error
Interface IExceptionHandler<X_IN extends java.lang.Exception,X_OUT extends java.lang.Exception>

Type Parameters:
X_IN - the type of exception being handled.
X_OUT - the type of exception being (potentially) thrown. Use NeverThrownRuntimeException if no exception will be thrown by this handler.
All Known Implementing Classes:
CollectingExceptionHandler, RethrowingExceptionHandler, StderrExceptionHandler

public interface IExceptionHandler<X_IN extends java.lang.Exception,X_OUT extends java.lang.Exception>

Interface for a exception handling routine.

Version:
$Rev: 26283 $
Author:
hummelb, $Author: juergens $
Rating:
GREEN Hash: F24A6BA392AA6149C12254D72EB576E7

Method Summary
 void handleException(X_IN exception)
          Handle the provided exception.
 

Method Detail

handleException

void handleException(X_IN exception)
                     throws X_OUT extends java.lang.Exception
Handle the provided exception.

Parameters:
exception - the exception being handled.
Throws:
X_OUT extends java.lang.Exception

TUM CCSM Commons

TUM CCSM Commons - 2.7