Class WebEngineExceptionMapper

java.lang.Object
org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Throwable>
Direct Known Subclasses:
ScimV2ExceptionMapper

@Provider public class WebEngineExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<Throwable>
Author:
Bogdan Stefanescu
  • Constructor Details

    • WebEngineExceptionMapper

      public WebEngineExceptionMapper()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(Throwable cause)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<Throwable>
    • getStatusCode

      protected static int getStatusCode(Throwable t)
    • handleErrorOnWebModule

      protected static Object handleErrorOnWebModule(Throwable t)