|
||||||||||
| 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(OnExceptionDefinition 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<OnExceptionDefinition> exceptions)
Adds the error handlers for the given list of exception types |
| Method Detail |
|---|
ErrorHandlerBuilder copy()
Processor createErrorHandler(RouteContext routeContext,
Processor processor)
throws Exception
Exceptionvoid addErrorHandlers(OnExceptionDefinition exception)
exception - the exception to handlevoid setErrorHandlers(List<OnExceptionDefinition> exceptions)
exceptions - the list of exceptions to handle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||