Interface ErrorHandler


public interface ErrorHandler
  • Method Details

    • errorResponse

      default org.springframework.http.ResponseEntity<?> errorResponse(Throwable e)
    • response

      default <T> T response(org.springframework.http.ResponseEntity<?> response) throws ServiceException
      Throws:
      ServiceException
    • errorResponseBody

      default Object errorResponseBody(int statusCode, Throwable e)
    • notImplemented

      default ServiceException notImplemented()