public class ResteasyWebApplicationException extends WebApplicationException implements WebApplicationExceptionWrapper<WebApplicationException>
WebApplicationException
with a sanitized response.Constructor and Description |
---|
ResteasyWebApplicationException(WebApplicationException wrapped)
Creates a new exception based on the wrapped exception.
|
Modifier and Type | Method and Description |
---|---|
WebApplicationException |
unwrap()
Returns the original, unwrapped, exception.
|
getResponse
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
sanitize, unwrap, wrap
public ResteasyWebApplicationException(WebApplicationException wrapped)
wrapped
- the exception to wrappublic WebApplicationException unwrap()
WebApplicationExceptionWrapper
unwrap
in interface WebApplicationExceptionWrapper<WebApplicationException>
Copyright © 2021 JBoss by Red Hat. All rights reserved.