Class BadRequestExceptionMapper
java.lang.Object
org.fcrepo.http.commons.exceptionhandlers.BadRequestExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.BadRequestException>,ExceptionDebugLogging
@Provider
public class BadRequestExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.BadRequestException>, ExceptionDebugLogging
For generic BadRequestExceptions.
- Since:
- November 18, 2014
- Author:
- md5wz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(javax.ws.rs.BadRequestException e) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.fcrepo.http.commons.exceptionhandlers.ExceptionDebugLogging
debugException
-
Constructor Details
-
BadRequestExceptionMapper
public BadRequestExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<javax.ws.rs.BadRequestException>
-