public class CoreExceptionMapper 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 |
---|
CoreExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
getResponse(Throwable t,
int status) |
static String |
getStackTrace(Throwable t) |
javax.ws.rs.core.Response |
toResponse(Throwable t) |
protected static final org.apache.commons.logging.Log log
public CoreExceptionMapper()
public javax.ws.rs.core.Response toResponse(Throwable t)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<Throwable>
public static javax.ws.rs.core.Response getResponse(Throwable t, int status)
public static String getStackTrace(Throwable t)
Copyright © 2015 Nuxeo SA. All rights reserved.