|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.tum.cs.commons.error.RethrowingExceptionHandler<X>
public class RethrowingExceptionHandler<X extends java.lang.Exception>
An exception handler simply rethrowing the exception caught.
Constructor Summary | |
---|---|
RethrowingExceptionHandler()
|
Method Summary | ||
---|---|---|
static
|
getInstance()
Returns the singleton instance of this class. |
|
void |
handleException(X exception)
Handle the provided exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RethrowingExceptionHandler()
Method Detail |
---|
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
|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |