Class ApiExceptionHandler

java.lang.Object
org.frankframework.console.exceptions.ApiExceptionHandler

@RestControllerAdvice("org.frankframework.console") public class ApiExceptionHandler extends Object
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 Details

    • ApiExceptionHandler

      public ApiExceptionHandler()
  • Method Details

    • handleApiException

      @ExceptionHandler(ApiException.class) protected org.springframework.http.ResponseEntity<Object> handleApiException(ApiException exception)