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