Package com.emarsys.ecommon.exceptions.handling

Provides a pluggable exception handling mechanism.

See:
          Description

Interface Summary
ExceptionHandler<E extends Exception,T extends Exception> An ExceptionHandler encapsulates a very simple and naive exception handling mechanism.
ExceptionHandling Encapsulates a pluggable ExceptionHandling mechanism.
SymmetricExceptionHandler<E extends Exception> A simplification over ExceptionHandler that only rethrows the same Exception types it handles.
 

Class Summary
ExceptionHandlerPool ExceptionHandlerPool represents some kind of default implementation of the ExceptionHandling interface with almost no restrictions.
ExceptionHandlingFactory<E extends Exception,T extends Exception> An ExceptionHandlingFactory provides a more convient way to create objects needed in a pluggable ExceptionHandling.
ExceptionHandlingProxy An ExceptionHandlingProxy creates dynamic Proxys that serve two purposes: they implement a pluggable ExceptionHandling mechanism and handle Exceptions on the its method calls transparently according to their annotation configuration .
ExceptionScenario<E extends Exception,T extends Exception> An ExceptionScenario describes the context of a scenario where Exceptions may occur.
InternalExceptionHandlerPool An InternalExceptionHandlerPool represents an ExceptionHandlerPool that is associated with a single instance's class.
 

Annotation Types Summary
HandleExceptions HandleExceptions represents a method or type level annotation which describes an ExceptionScenario associated with the annotated method or type.
HandleExceptionsFor Defines an exception handling delegate.
 

Package com.emarsys.ecommon.exceptions.handling Description

Provides a pluggable exception handling mechanism. Note: This module is highly expirementaly and thus likely to change over time!



Copyright © 2010 emarsys AG. All Rights Reserved.