Package io.strimzi.test.container
Class WaitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.strimzi.test.container.WaitException
- All Implemented Interfaces:
Serializable
Extension for RuntimeException used in active waiting. See the
Utils.waitFor(String, Duration, Duration, BooleanSupplier) method.
Usage of this Exception should be always associated with active waiting where the condition
should not always be met which results in WaitException.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWaitException(String message) WaitException used for active waitingWaitException(Throwable cause) WaitException used for active waiting -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WaitException
WaitException used for active waiting- Parameters:
message- specific message to throw
-
WaitException
WaitException used for active waiting- Parameters:
cause- type of cause
-