public class CoreExceptionMapper extends Object implements ExceptionMapper<Throwable>
Constructor and Description |
---|
CoreExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
static Response |
getResponse(Throwable t,
int status) |
static String |
getStackTrace(Throwable t) |
Response |
toResponse(Throwable t) |
public Response toResponse(Throwable t)
toResponse
in interface ExceptionMapper<Throwable>
Copyright © 2013 Nuxeo SA. All Rights Reserved.