Package org.nuxeo.ecm.webengine.app
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static int
protected static Object
javax.ws.rs.core.Response
toResponse
(Throwable cause)
-
Constructor Details
-
WebEngineExceptionMapper
public WebEngineExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<Throwable>
-
getStatusCode
-
handleErrorOnWebModule
-