Class WaiterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.eqixiac.equinix.core.waiter.WaiterException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WaiterFailedException, WaiterTimeoutException
Base type for failures raised by
ResourceWaiter. Catch this to handle a timeout
(WaiterTimeoutException), a terminal failure state (WaiterFailedException), or
an interruption of the polling thread, which is thrown as a plain WaiterException with
the InterruptedException as its cause (the interrupt flag is restored first).- Author:
- ianjones
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWaiterException(String message) WaiterException(String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WaiterException
-
WaiterException
-