Class WaiterException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WaiterFailedException, WaiterTimeoutException

public class WaiterException extends RuntimeException
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 Details

    • WaiterException

      public WaiterException(String message)
    • WaiterException

      public WaiterException(String message, Throwable cause)