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 aRedirectionExceptionwith a sanitized response.- Author:
- James R. Perkins
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URIgetLocation()javax.ws.rs.RedirectionExceptionunwrap()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:
getLocationin classjavax.ws.rs.RedirectionException
-
unwrap
public javax.ws.rs.RedirectionException unwrap()
Description copied from interface:WebApplicationExceptionWrapperReturns the original, unwrapped, exception.- Specified by:
unwrapin interfaceWebApplicationExceptionWrapper<javax.ws.rs.RedirectionException>- Returns:
- the original exception
-
-