Class ResteasyServiceUnavailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.ws.rs.WebApplicationException
-
- jakarta.ws.rs.ServerErrorException
-
- jakarta.ws.rs.ServiceUnavailableException
-
- org.jboss.resteasy.client.exception.ResteasyServiceUnavailableException
-
- All Implemented Interfaces:
Serializable
,WebApplicationExceptionWrapper<jakarta.ws.rs.ServiceUnavailableException>
public class ResteasyServiceUnavailableException extends jakarta.ws.rs.ServiceUnavailableException implements WebApplicationExceptionWrapper<jakarta.ws.rs.ServiceUnavailableException>
Wraps aServiceUnavailableException
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 Date
getRetryTime(Date requestTime)
boolean
hasRetryAfter()
jakarta.ws.rs.ServiceUnavailableException
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
-
hasRetryAfter
public boolean hasRetryAfter()
- Overrides:
hasRetryAfter
in classjakarta.ws.rs.ServiceUnavailableException
-
getRetryTime
public Date getRetryTime(Date requestTime)
- Overrides:
getRetryTime
in classjakarta.ws.rs.ServiceUnavailableException
-
unwrap
public jakarta.ws.rs.ServiceUnavailableException unwrap()
Description copied from interface:WebApplicationExceptionWrapper
Returns the original, unwrapped, exception.- Specified by:
unwrap
in interfaceWebApplicationExceptionWrapper<jakarta.ws.rs.ServiceUnavailableException>
- Returns:
- the original exception
-
-