|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorHandlerBuilder
A builder of a Error Handler
Method Summary | |
---|---|
void |
addErrorHandlers(ExceptionType exception)
Adds error handler for the given exception type |
ErrorHandlerBuilder |
copy()
Creates a copy of this builder |
Processor |
createErrorHandler(RouteContext routeContext,
Processor processor)
Creates the error handler interceptor |
void |
setErrorHandlers(List<ExceptionType> exceptions)
Adds the error handlers for the given list of exception types |
Method Detail |
---|
ErrorHandlerBuilder copy()
Processor createErrorHandler(RouteContext routeContext, Processor processor) throws Exception
Exception
void addErrorHandlers(ExceptionType exception)
exception
- the exception to handlevoid setErrorHandlers(List<ExceptionType> exceptions)
exceptions
- the list of exceptions to handle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |