public class GlobalErrorHandler extends Object implements nablarch.fw.Handler<nablarch.fw.Request<?>,Object>, nablarch.fw.ExceptionHandler
| Constructor and Description |
|---|
GlobalErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
handle(nablarch.fw.Request<?> req,
nablarch.fw.ExecutionContext context) |
nablarch.fw.Result |
handleError(Error e,
nablarch.fw.ExecutionContext context) |
nablarch.fw.Result |
handleRuntimeException(RuntimeException e,
nablarch.fw.ExecutionContext context) |
public Object handle(nablarch.fw.Request<?> req, nablarch.fw.ExecutionContext context)
handle in interface nablarch.fw.Handler<nablarch.fw.Request<?>,Object>public nablarch.fw.Result handleError(Error e, nablarch.fw.ExecutionContext context) throws Error, RuntimeException
handleError in interface nablarch.fw.ExceptionHandlerErrorRuntimeExceptionpublic nablarch.fw.Result handleRuntimeException(RuntimeException e, nablarch.fw.ExecutionContext context) throws RuntimeException
handleRuntimeException in interface nablarch.fw.ExceptionHandlerRuntimeExceptionCopyright © 2020. All rights reserved.