@Provider public class WildcardExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<Exception>, ExceptionDebugLogging
| Constructor and Description |
|---|
WildcardExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
setShowStackTrace(Boolean showStackTrace)
Set whether the full stack trace should be returned as part of the
error response.
|
javax.ws.rs.core.Response |
toResponse(Exception e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebugExceptionpublic WildcardExceptionMapper()
public javax.ws.rs.core.Response toResponse(Exception e)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<Exception>public void setShowStackTrace(Boolean showStackTrace)
showStackTrace - the boolean value of showing stack traceCopyright © 2013–2016 DuraSpace, Inc.. All rights reserved.