Class GhostNodeExceptionMapper
- java.lang.Object
-
- org.fcrepo.http.commons.exceptionhandlers.GhostNodeExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<GhostNodeException>
@Provider public class GhostNodeExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<GhostNodeException>
Map an GhostNodeException to a response.- Author:
- whikloj
-
-
Constructor Summary
Constructors Constructor Description GhostNodeExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(GhostNodeException e)
-
-
-
Constructor Detail
-
GhostNodeExceptionMapper
public GhostNodeExceptionMapper()
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(GhostNodeException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<GhostNodeException>
-
-