Class ResteasyNotAuthorizedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.ws.rs.WebApplicationException
-
- javax.ws.rs.ClientErrorException
-
- javax.ws.rs.NotAuthorizedException
-
- org.jboss.resteasy.client.exception.ResteasyNotAuthorizedException
-
- All Implemented Interfaces:
Serializable
,WebApplicationExceptionWrapper<javax.ws.rs.NotAuthorizedException>
public class ResteasyNotAuthorizedException extends javax.ws.rs.NotAuthorizedException implements WebApplicationExceptionWrapper<javax.ws.rs.NotAuthorizedException>
Wraps aNotAuthorizedException
with a sanitized response- Author:
- James R. Perkins
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>
getChallenges()
javax.ws.rs.NotAuthorizedException
unwrap()
Returns the original, unwrapped, exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getChallenges
public List<Object> getChallenges()
- Overrides:
getChallenges
in classjavax.ws.rs.NotAuthorizedException
-
unwrap
public javax.ws.rs.NotAuthorizedException unwrap()
Description copied from interface:WebApplicationExceptionWrapper
Returns the original, unwrapped, exception.- Specified by:
unwrap
in interfaceWebApplicationExceptionWrapper<javax.ws.rs.NotAuthorizedException>
- Returns:
- the original exception
-
-