Class MementoDatetimeFormatExceptionMapper

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

@Provider public class MementoDatetimeFormatExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.MementoDatetimeFormatException>, ExceptionDebugLogging
Handle MementoDatetimeFormatException with HTTP 400 Bad Request.
Since:
2018-03-12
Author:
lsitu
  • Constructor Details

  • Method Details

    • toResponse

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