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<NotAuthorizedException>
public class ResteasyNotAuthorizedException
extends NotAuthorizedException
implements WebApplicationExceptionWrapper<NotAuthorizedException>
Wraps a
NotAuthorizedException with a sanitized response- Author:
- James R. Perkins
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of authorization challenges associated with the exception and applicable to the resource requested by the client.unwrap()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
Description copied from class:NotAuthorizedExceptionGet the list of authorization challenges associated with the exception and applicable to the resource requested by the client.- Overrides:
getChallengesin classNotAuthorizedException- Returns:
- list of authorization challenges applicable to the resource requested by the client.
-
unwrap
Description copied from interface:WebApplicationExceptionWrapperReturns the original, unwrapped, exception.- Specified by:
unwrapin interfaceWebApplicationExceptionWrapper<NotAuthorizedException>- Returns:
- the original exception
-