Class RestApiExceptionMapper

java.lang.Object
io.goobi.viewer.api.rest.exceptions.RestApiExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<RestApiException>

@Provider public class RestApiExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<RestApiException>

RestApiExceptionMapper class.

Author:
Florian Alpers
  • Constructor Details

    • RestApiExceptionMapper

      public RestApiExceptionMapper()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(RestApiException exception)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<RestApiException>