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 Constructor Description BadRequestExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(javax.ws.rs.BadRequestException e)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fcrepo.http.commons.exceptionhandlers.ExceptionDebugLogging
debugException
-
-
-
-
Constructor Detail
-
BadRequestExceptionMapper
public BadRequestExceptionMapper()
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(javax.ws.rs.BadRequestException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<javax.ws.rs.BadRequestException>
-
-