Uses of Interface
org.eclipse.microprofile.fault.tolerance.tck.util.Exceptions.ExceptionThrowingAction
Packages that use Exceptions.ExceptionThrowingAction
-
Uses of Exceptions.ExceptionThrowingAction in org.eclipse.microprofile.fault.tolerance.tck.util
Methods in org.eclipse.microprofile.fault.tolerance.tck.util with parameters of type Exceptions.ExceptionThrowingActionModifier and TypeMethodDescriptionstatic void
Exceptions.expect
(Class<? extends Exception> expectedException, Exceptions.ExceptionThrowingAction action) Run an action an ensure that the expected exception is thrownstatic void
Exceptions.expectBulkheadException
(Exceptions.ExceptionThrowingAction action) Run an action and check that aBulkheadException
is thrownstatic void
Exceptions.expectCbOpen
(Exceptions.ExceptionThrowingAction action) Run an action and check that aCircuitBreakerOpenException
is thrownstatic void
Exceptions.expectNoException
(Exceptions.ExceptionThrowingAction action) Run an action and ensure that no exception is thrownstatic void
Exceptions.expectTestException
(Exceptions.ExceptionThrowingAction action) Run an action and check that aTestException
is thrownstatic void
Exceptions.expectTimeout
(Exceptions.ExceptionThrowingAction action) Run an action an check that a timeout exception is thrown