アノテーションインターフェースの使用
org.springframework.web.bind.annotation.ExceptionHandler
パッケージ
説明
アノテーションベースのハンドラーメソッド処理のインフラストラクチャ。
org.springframework.web.method.annotation
パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。org.springframework.web.reactive.result.method.annotation 内の ExceptionHandler 使用
修飾子と型メソッド説明final reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleException
(ExceptionSE ex, ServerWebExchange exchange) リクエストの Spring MVC 処理内で発生したすべての例外を処理します。org.springframework.web.servlet.mvc.method.annotation 内の ExceptionHandler 使用
修飾子と型メソッド説明final ResponseEntity<ObjectSE>
ResponseEntityExceptionHandler.handleException
(ExceptionSE ex, WebRequest request) リクエストの Spring MVC 処理内で発生したすべての例外を処理します。