Package org.nuxeo.wopi.jaxrs
Class WOPIExceptionMapper
- java.lang.Object
-
- org.nuxeo.wopi.jaxrs.WOPIExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<WOPIException>
public class WOPIExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<WOPIException>
Exception mapper for theWOPIException
s.- Since:
- 10.3
-
-
Constructor Summary
Constructors Constructor Description WOPIExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(WOPIException exception)
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(WOPIException exception)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<WOPIException>
-
-