Apache CXF API

org.apache.cxf.jaxrs.impl
Class WebApplicationExceptionMapper

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.WebApplicationException>

public class WebApplicationExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.WebApplicationException>


Constructor Summary
WebApplicationExceptionMapper()
           
 
Method Summary
 void setPrintStackTrace(boolean printStackTrace)
           
 javax.ws.rs.core.Response toResponse(javax.ws.rs.WebApplicationException ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebApplicationExceptionMapper

public WebApplicationExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(javax.ws.rs.WebApplicationException ex)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.WebApplicationException>

setPrintStackTrace

public void setPrintStackTrace(boolean printStackTrace)

Apache CXF API

Apache CXF