org.araneaframework.framework
Interface ExceptionHandlerFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
SimpleCriticalErrorHandlerService.Factory

public interface ExceptionHandlerFactory
extends Serializable

A factory class for creating exception handlers. An exception handler is a service which knows about the exception and can be set an Environment.


Method Summary
 Service buildExceptionHandler(Throwable e, Environment environment)
          Returns a Service for handling the Exception.
 

Method Detail

buildExceptionHandler

public Service buildExceptionHandler(Throwable e,
                                     Environment environment)
Returns a Service for handling the Exception.

Parameters:
e - is the Throwable that needs special handling.