Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.jaxrs.session
Class CoreExceptionMapper

java.lang.Object
  extended by org.nuxeo.ecm.webengine.jaxrs.session.CoreExceptionMapper
All Implemented Interfaces:
ExceptionMapper<Throwable>

public class CoreExceptionMapper
extends Object
implements ExceptionMapper<Throwable>

Author:
Bogdan Stefanescu

Constructor Summary
CoreExceptionMapper()
           
 
Method Summary
static Response getResponse(Throwable t, int status)
           
static String getStackTrace(Throwable t)
           
 Response toResponse(Throwable t)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreExceptionMapper

public CoreExceptionMapper()
Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.