@Provider
public class DefaultExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>
| Constructor and Description | 
|---|
DefaultExceptionMapper()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
logExceptionDetailsForDebugging(java.lang.Throwable t)
Logs full details at trace, unless it is the first time we've seen this in which case it is debug 
 | 
javax.ws.rs.core.Response | 
toResponse(java.lang.Throwable throwable1)
Maps a throwable to a response. 
 | 
public javax.ws.rs.core.Response toResponse(java.lang.Throwable throwable1)
WebApplicationException.getResponse() if the exception is an instance of
 WebApplicationException. Otherwise maps known exceptions to responses. If no
 mapping is found a Response.Status.INTERNAL_SERVER_ERROR is assumed.toResponse in interface javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>public static void logExceptionDetailsForDebugging(java.lang.Throwable t)