Package | Description |
---|---|
org.eclipse.microprofile.fault.tolerance.tck.util |
Modifier and Type | Method and Description |
---|---|
static void |
Exceptions.expect(Class<? extends Exception> expectedException,
Exceptions.ExceptionThrowingAction action)
Run an action an ensure that the expected exception is thrown
|
static void |
Exceptions.expectBulkheadException(Exceptions.ExceptionThrowingAction action)
Run an action and check that a
BulkheadException is thrown |
static void |
Exceptions.expectCbOpen(Exceptions.ExceptionThrowingAction action)
Run an action and check that a
CircuitBreakerOpenException is thrown |
static void |
Exceptions.expectNoException(Exceptions.ExceptionThrowingAction action)
Run an action and ensure that no exception is thrown
|
static void |
Exceptions.expectTestException(Exceptions.ExceptionThrowingAction action)
Run an action and check that a
TestException is thrown |
static void |
Exceptions.expectTimeout(Exceptions.ExceptionThrowingAction action)
Run an action an check that a timeout exception is thrown
|
Copyright © 2016 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.