Package org.nuxeo.wopi.rest
Class WOPIExceptionMapper
java.lang.Object
org.nuxeo.wopi.rest.WOPIExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<WOPIException>
@Singleton
@Provider
public class WOPIExceptionMapper
extends Object
implements jakarta.ws.rs.ext.ExceptionMapper<WOPIException>
Exception mapper for the
WOPIException
s.- Since:
- 10.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
toResponse
(WOPIException exception)
-
Constructor Details
-
WOPIExceptionMapper
public WOPIExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<WOPIException>
-