public class RethrowingExceptionHandler<X extends java.lang.Exception> extends java.lang.Object implements IExceptionHandler<X,X>
Constructor and Description |
---|
RethrowingExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
static <X extends java.lang.Exception> |
getInstance()
Returns the singleton instance of this class.
|
void |
handleException(X exception)
Handle the provided exception.
|
public RethrowingExceptionHandler()
public static <X extends java.lang.Exception> RethrowingExceptionHandler<X> getInstance()
public void handleException(X exception) throws X extends java.lang.Exception
handleException
in interface IExceptionHandler<X extends java.lang.Exception,X extends java.lang.Exception>
exception
- the exception being handled.X extends java.lang.Exception