Methods in com.emarsys.ecommon.exceptions.handling that return ExceptionScenario |
ExceptionScenario<E,T> |
ExceptionScenario.generalize()
|
static ExceptionScenario<?,?> |
ExceptionScenario.getInstance(java.lang.reflect.AnnotatedElement elem)
If a Method is passed a HandleExceptions
annotation on it will be searched for, else if it's an
instance of Class this will be done too and if
not successfull than also delegates specified through
HandleExceptionsFor will be searched. |
static
|
ExceptionScenario.getInstance(java.lang.String name,
java.lang.Class<E> handledExceptionClass,
java.lang.Class<T> rethrownExceptionClass)
|
static
|
ExceptionScenario.getInstanceWithHandledException(java.lang.String name,
java.lang.Class<E> handledExceptionClass)
|
static
|
ExceptionScenario.getInstanceWithThrownException(java.lang.String name,
java.lang.Class<T> rethrownExceptionClass)
|
protected ExceptionScenario<?,?> |
ExceptionHandlingProxy.getScenario(java.lang.Object invokee,
java.lang.reflect.Method method)
Note: HandleExceptions s annotations are inherited so
so we don't query method.getDeclaringClass() but pass the actual
object being invoked. |
ExceptionScenario<E,T> |
ExceptionHandlingFactory.getScenarioInstance(java.lang.String name)
Factory method to create similar ExceptionScenario s
that differ only in their name. |
ExceptionScenario<E,T> |
ExceptionScenario.internalize(java.lang.Object client)
|
Methods in com.emarsys.ecommon.exceptions.handling with parameters of type ExceptionScenario |
<E extends java.lang.Exception,T extends java.lang.Exception>
ExceptionHandler<E,T> |
|
ExceptionHandling.getExceptionHandler(ExceptionScenario<E,T> scenario)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
ExceptionHandler<E,T> |
|
InternalExceptionHandlerPool.getExceptionHandler(ExceptionScenario<E,T> scenario)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
ExceptionHandler<E,T> |
|
ExceptionHandlerPool.getExceptionHandler(ExceptionScenario<E,T> scenario)
|
protected
<H extends java.lang.Exception,I extends java.lang.Exception>
void |
|
ExceptionHandlingProxy.handle(ExceptionScenario<H,I> scenario,
java.lang.Throwable th)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
void |
|
ExceptionHandling.registerExceptionHandler(ExceptionScenario<E,T> scenario,
ExceptionHandler<E,T> handler)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
void |
|
InternalExceptionHandlerPool.registerExceptionHandler(ExceptionScenario<E,T> scenario,
ExceptionHandler<E,T> handler)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
void |
|
ExceptionHandlerPool.registerExceptionHandler(ExceptionScenario<E,T> scenario,
ExceptionHandler<E,T> handler)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
void |
|
ExceptionHandling.unregisterExceptionHandler(ExceptionScenario<E,T> scenario)
Unregisters the ExceptionHandler associated with the
passed scenario if present. |
<E extends java.lang.Exception,T extends java.lang.Exception>
void |
|
InternalExceptionHandlerPool.unregisterExceptionHandler(ExceptionScenario<E,T> scenario)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
void |
|
ExceptionHandlerPool.unregisterExceptionHandler(ExceptionScenario<E,T> scenario)
|
Methods in com.emarsys.ecommon.mail.storage with parameters of type ExceptionScenario |
<E extends java.lang.Exception,T extends java.lang.Exception>
ExceptionHandler<E,T> |
|
JMailStorage.getExceptionHandler(ExceptionScenario<E,T> scenario)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
ExceptionHandler<E,T> |
|
JMailFolder.getExceptionHandler(ExceptionScenario<E,T> scenario)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
void |
|
JMailStorage.registerExceptionHandler(ExceptionScenario<E,T> scenario,
ExceptionHandler<E,T> handler)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
void |
|
JMailFolder.registerExceptionHandler(ExceptionScenario<E,T> scenario,
ExceptionHandler<E,T> handler)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
void |
|
JMailStorage.unregisterExceptionHandler(ExceptionScenario<E,T> scenario)
|
<E extends java.lang.Exception,T extends java.lang.Exception>
void |
|
JMailFolder.unregisterExceptionHandler(ExceptionScenario<E,T> scenario)
|