Class ResteasyServiceUnavailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.ws.rs.WebApplicationException
-
- javax.ws.rs.ServerErrorException
-
- javax.ws.rs.ServiceUnavailableException
-
- org.jboss.resteasy.client.exception.ResteasyServiceUnavailableException
-
- All Implemented Interfaces:
Serializable,WebApplicationExceptionWrapper<javax.ws.rs.ServiceUnavailableException>
public class ResteasyServiceUnavailableException extends javax.ws.rs.ServiceUnavailableException implements WebApplicationExceptionWrapper<javax.ws.rs.ServiceUnavailableException>
Wraps aServiceUnavailableExceptionwith a sanitized response.- Author:
- James R. Perkins
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetRetryTime(Date requestTime)booleanhasRetryAfter()javax.ws.rs.ServiceUnavailableExceptionunwrap()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
-
hasRetryAfter
public boolean hasRetryAfter()
- Overrides:
hasRetryAfterin classjavax.ws.rs.ServiceUnavailableException
-
getRetryTime
public Date getRetryTime(Date requestTime)
- Overrides:
getRetryTimein classjavax.ws.rs.ServiceUnavailableException
-
unwrap
public javax.ws.rs.ServiceUnavailableException unwrap()
Description copied from interface:WebApplicationExceptionWrapperReturns the original, unwrapped, exception.- Specified by:
unwrapin interfaceWebApplicationExceptionWrapper<javax.ws.rs.ServiceUnavailableException>- Returns:
- the original exception
-
-