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