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 WOPIExceptions.
Since:
10.3
  • Constructor Details

    • WOPIExceptionMapper

      public WOPIExceptionMapper()
  • Method Details

    • toResponse

      public jakarta.ws.rs.core.Response toResponse(WOPIException exception)
      Specified by:
      toResponse in interface jakarta.ws.rs.ext.ExceptionMapper<WOPIException>