Class InvalidACLExceptionMapper

java.lang.Object
org.fcrepo.http.commons.exceptionhandlers.ConstraintExceptionMapper<org.fcrepo.kernel.api.exception.InvalidACLException>
org.fcrepo.http.commons.exceptionhandlers.InvalidACLExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.InvalidACLException>, ExceptionDebugLogging

@Provider public class InvalidACLExceptionMapper extends ConstraintExceptionMapper<org.fcrepo.kernel.api.exception.InvalidACLException> implements ExceptionDebugLogging
Translate InvalidACLExceptions into HTTP 409 CONFLICT errors
Since:
2018-03-13
Author:
harring
  • Constructor Details

  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(org.fcrepo.kernel.api.exception.InvalidACLException e)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.InvalidACLException>