org.apache.cxf.jaxrs.impl
Class WebApplicationExceptionMapper
java.lang.Object
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>
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 |
WebApplicationExceptionMapper
public WebApplicationExceptionMapper()
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