Class InvalidResourceIdentifierExceptionMapper
- java.lang.Object
-
- org.fcrepo.http.commons.exceptionhandlers.InvalidResourceIdentifierExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<InvalidResourceIdentifierException>
,ExceptionDebugLogging
@Provider public class InvalidResourceIdentifierExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<InvalidResourceIdentifierException>, ExceptionDebugLogging
The class translatesInvalidResourceIdentifierException
s to its proper response code.- Since:
- July 14, 2015.
- Author:
- awoods
-
-
Constructor Summary
Constructors Constructor Description InvalidResourceIdentifierExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(String msg, InvalidResourceIdentifierException e)
javax.ws.rs.core.Response
toResponse(InvalidResourceIdentifierException 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
-
InvalidResourceIdentifierExceptionMapper
public InvalidResourceIdentifierExceptionMapper()
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(InvalidResourceIdentifierException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<InvalidResourceIdentifierException>
-
toResponse
public javax.ws.rs.core.Response toResponse(String msg, InvalidResourceIdentifierException e)
-
-