Class GenericExceptionMapper

java.lang.Object
org.apache.directory.scim.server.exception.GenericExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<Throwable>

@Provider @Produces({"application/scim+json","application/json"}) public class GenericExceptionMapper extends Object
  • Constructor Details

    • GenericExceptionMapper

      public GenericExceptionMapper()
  • Method Details

    • errorResponse

      protected ErrorResponse errorResponse(Throwable throwable)
    • toResponse

      public jakarta.ws.rs.core.Response toResponse(Throwable throwable)
      Specified by:
      toResponse in interface jakarta.ws.rs.ext.ExceptionMapper<E extends Throwable>