public class GlobalErrorHandler extends java.lang.Object implements Handler<Request<?>,java.lang.Object>, ExceptionHandler
| Constructor and Description | 
|---|
GlobalErrorHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
handle(Request<?> req,
      ExecutionContext context)
入力データに対する処理を実行する。 
 | 
Result | 
handleError(java.lang.Error e,
           ExecutionContext context)
Error の例外処理を行う。 
例外をNablarchのハンドラでレスポンスとして処理する場合、 このハンドラより外部のハンドラが処理できるレスポンスオブジェクトを返す。  | 
Result | 
handleRuntimeException(java.lang.RuntimeException e,
                      ExecutionContext context)
RuntimeExceptionの例外処理を行う。 
例外をNablarchのハンドラでレスポンスとして処理する場合、 このハンドラより外部のハンドラが処理できるレスポンスオブジェクトを返す。  | 
public java.lang.Object handle(Request<?> req, ExecutionContext context)
public Result handleError(java.lang.Error e, ExecutionContext context) throws java.lang.Error, java.lang.RuntimeException
ExceptionHandlerhandleError in interface ExceptionHandlere - 処理するErrorcontext - ExecutionContextjava.lang.Error - 例外を処理できない場合java.lang.RuntimeException - 例外を処理できない場合、または付け替えた例外public Result handleRuntimeException(java.lang.RuntimeException e, ExecutionContext context) throws java.lang.RuntimeException
ExceptionHandlerhandleRuntimeException in interface ExceptionHandlere - 処理する例外context - ExecutionContextjava.lang.RuntimeException - 例外を処理できない場合、または付け替えた例外