Uses of Class
com.emarsys.ecommon.exceptions.handling.ExceptionScenario

Packages that use ExceptionScenario
com.emarsys.ecommon.exceptions Provides common exception classes and utils. 
com.emarsys.ecommon.exceptions.handling Provides a pluggable exception handling mechanism. 
com.emarsys.ecommon.mail.storage Provides a framework for easy access to mail stores using the JavaMail(tm) API. 
 

Uses of ExceptionScenario in com.emarsys.ecommon.exceptions
 

Fields in com.emarsys.ecommon.exceptions declared as ExceptionScenario
static ExceptionScenario<java.lang.RuntimeException,java.lang.RuntimeException> Exceptions.SCENARIO_RUNTIME_DEFAULT
           
 

Uses of ExceptionScenario in com.emarsys.ecommon.exceptions.handling
 

Fields in com.emarsys.ecommon.exceptions.handling with type parameters of type ExceptionScenario
protected  java.util.Map<ExceptionScenario<?,?>,ExceptionHandler<?,?>> ExceptionHandlerPool.pool
           
 

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
<E extends java.lang.Exception,T extends java.lang.Exception>
ExceptionScenario<E,T>
ExceptionScenario.getInstance(java.lang.String name, java.lang.Class<E> handledExceptionClass, java.lang.Class<T> rethrownExceptionClass)
           
static
<E extends java.lang.Exception>
ExceptionScenario<E,java.lang.Exception>
ExceptionScenario.getInstanceWithHandledException(java.lang.String name, java.lang.Class<E> handledExceptionClass)
           
static
<T extends java.lang.Exception>
ExceptionScenario<java.lang.Exception,T>
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: HandleExceptionss 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 ExceptionScenarios that differ only in their name.
 ExceptionScenario<E,T> ExceptionScenario.internalize(java.lang.Object client)
           
 

Methods in com.emarsys.ecommon.exceptions.handling that return types with arguments of type ExceptionScenario
 java.util.Map<ExceptionScenario<?,?>,ExceptionHandler<?,?>> ExceptionHandling.getExceptionHandlers()
           The passed Map must not be the ExceptionHandling's interal, modifyable representation in order to protect from violating invariants.
 java.util.Map<ExceptionScenario<?,?>,ExceptionHandler<?,?>> InternalExceptionHandlerPool.getExceptionHandlers()
           
 java.util.Map<ExceptionScenario<?,?>,ExceptionHandler<?,?>> ExceptionHandlerPool.getExceptionHandlers()
           
 

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)
           
 

Uses of ExceptionScenario in com.emarsys.ecommon.mail.storage
 

Fields in com.emarsys.ecommon.mail.storage declared as ExceptionScenario
static ExceptionScenario<javax.mail.MessagingException,MailStorageException> JMailFolder.EXCEPTION_SCENARIO_FOLDER
           
static ExceptionScenario<javax.mail.MessagingException,MailStorageException> JMailStorage.EXCEPTION_SCENARIO_FOLDER_NEXT
           
static ExceptionScenario<javax.mail.MessagingException,MailStorageException> JMailFolder.EXCEPTION_SCENARIO_HAS_NEXT
           
static ExceptionScenario<javax.mail.MessagingException,MailStorageException> JMailFolder.EXCEPTION_SCENARIO_MESSAGES
           
static ExceptionScenario<javax.mail.MessagingException,MailStorageException> JMailFolder.EXCEPTION_SCENARIO_MESSAGES_COUNT
           
static ExceptionScenario<javax.mail.MessagingException,MailStorageException> JMailFolder.EXCEPTION_SCENARIO_REMOVE
           
static ExceptionScenario<javax.mail.MessagingException,MailStorageException> JMailFolder.EXCEPTION_SCENARIO_REMOVE_EXPUNGE
           
static ExceptionScenario<javax.mail.MessagingException,MailStorageException> JMailStorage.EXCEPTION_SCENARIO_STORE
           
 

Methods in com.emarsys.ecommon.mail.storage that return types with arguments of type ExceptionScenario
 java.util.Map<ExceptionScenario<?,?>,ExceptionHandler<?,?>> JMailStorage.getExceptionHandlers()
           
 java.util.Map<ExceptionScenario<?,?>,ExceptionHandler<?,?>> JMailFolder.getExceptionHandlers()
           
 

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)
           
 



Copyright © 2010 emarsys AG. All Rights Reserved.