@Provider public class WebEngineExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<Throwable>
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
WebEngineExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
protected static int |
getStatusCode(Throwable t) |
protected static Object |
handleErrorOnWebModule(Throwable t) |
javax.ws.rs.core.Response |
toResponse(Throwable cause) |
protected static final org.apache.commons.logging.Log log
public WebEngineExceptionMapper()
public javax.ws.rs.core.Response toResponse(Throwable cause)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<Throwable>
protected static int getStatusCode(Throwable t)
protected static Object handleErrorOnWebModule(Throwable t)
Copyright © 2018 Nuxeo. All rights reserved.