Class ApiExceptionHandler
java.lang.Object
org.frankframework.console.exceptions.ApiExceptionHandler
This ExceptionHandler catches
ApiExceptions thrown by the Frank!Framework.
The exceptions are similar to an ErrorResponseException as they contain HTTP headers and a body.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.http.ResponseEntity<Object> handleApiException(ApiException exception)
-
Constructor Details
-
ApiExceptionHandler
public ApiExceptionHandler()
-
-
Method Details
-
handleApiException
@ExceptionHandler(ApiException.class) protected org.springframework.http.ResponseEntity<Object> handleApiException(ApiException exception)
-