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 Details

    • getChallenges

      public List<Object> getChallenges()
      Overrides:
      getChallenges in class jakarta.ws.rs.NotAuthorizedException
    • unwrap

      public jakarta.ws.rs.NotAuthorizedException unwrap()
      Description copied from interface: WebApplicationExceptionWrapper
      Returns the original, unwrapped, exception.
      Specified by:
      unwrap in interface WebApplicationExceptionWrapper<jakarta.ws.rs.NotAuthorizedException>
      Returns:
      the original exception