Class ResteasyRedirectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.ws.rs.WebApplicationException
-
- javax.ws.rs.RedirectionException
-
- org.jboss.resteasy.client.exception.ResteasyRedirectionException
-
- All Implemented Interfaces:
Serializable
,WebApplicationExceptionWrapper<javax.ws.rs.RedirectionException>
public class ResteasyRedirectionException extends javax.ws.rs.RedirectionException implements WebApplicationExceptionWrapper<javax.ws.rs.RedirectionException>
Wraps aRedirectionException
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 URI
getLocation()
javax.ws.rs.RedirectionException
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
-
getLocation
public URI getLocation()
- Overrides:
getLocation
in classjavax.ws.rs.RedirectionException
-
unwrap
public javax.ws.rs.RedirectionException unwrap()
Description copied from interface:WebApplicationExceptionWrapper
Returns the original, unwrapped, exception.- Specified by:
unwrap
in interfaceWebApplicationExceptionWrapper<javax.ws.rs.RedirectionException>
- Returns:
- the original exception
-
-