org.nuxeo.ecm.webengine.jaxrs.session
Class CoreExceptionMapper
java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.session.CoreExceptionMapper
- All Implemented Interfaces:
- ExceptionMapper<Throwable>
public class CoreExceptionMapper
- extends Object
- implements ExceptionMapper<Throwable>
- Author:
- Bogdan Stefanescu
CoreExceptionMapper
public CoreExceptionMapper()
toResponse
public Response toResponse(Throwable t)
- Specified by:
toResponse
in interface ExceptionMapper<Throwable>
getResponse
public static Response getResponse(Throwable t,
int status)
getStackTrace
public static String getStackTrace(Throwable t)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.