Class ResteasyNotAcceptableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.ws.rs.WebApplicationException
jakarta.ws.rs.ClientErrorException
jakarta.ws.rs.NotAcceptableException
org.jboss.resteasy.client.exception.ResteasyNotAcceptableException
- All Implemented Interfaces:
Serializable
,WebApplicationExceptionWrapper<jakarta.ws.rs.NotAcceptableException>
public class ResteasyNotAcceptableException
extends jakarta.ws.rs.NotAcceptableException
implements WebApplicationExceptionWrapper<jakarta.ws.rs.NotAcceptableException>
Wraps a
NotAcceptableException
with a sanitized response.- Author:
- James R. Perkins
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.NotAcceptableException
unwrap()
Returns the original, unwrapped, exception.Methods inherited from class jakarta.ws.rs.WebApplicationException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
unwrap
public jakarta.ws.rs.NotAcceptableException unwrap()Description copied from interface:WebApplicationExceptionWrapper
Returns the original, unwrapped, exception.- Specified by:
unwrap
in interfaceWebApplicationExceptionWrapper<jakarta.ws.rs.NotAcceptableException>
- Returns:
- the original exception
-