AssertThrowsExactly is a collection of utility methods that support asserting
an exception of an exact type is thrown.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <T extends Throwable> T | |
| pack-priv static <T extends Throwable> T | |
| pack-priv static <T extends Throwable> T | assertThrowsExactly(Class<T> expectedType, Executable executable, Supplier<@Nullable String> messageSupplier)
|
| private static <T extends Throwable> T | assertThrowsExactly(Class<T> expectedType, Executable executable, @Nullable Object messageOrSupplier)
|
| AssertThrowsExactly | back to summary |
|---|---|
| private AssertThrowsExactly() | |
| assertThrowsExactly | back to summary |
|---|---|
| pack-priv static <T extends Throwable> T assertThrowsExactly(Class<T> expectedType, Executable executable) | |
| assertThrowsExactly | back to summary |
|---|---|
| pack-priv static <T extends Throwable> T assertThrowsExactly(Class<T> expectedType, Executable executable, @Nullable String message) | |
| assertThrowsExactly | back to summary |
|---|---|
| pack-priv static <T extends Throwable> T assertThrowsExactly(Class<T> expectedType, Executable executable, Supplier<@Nullable String> messageSupplier) | |
| assertThrowsExactly | back to summary |
|---|---|
private static <T extends Throwable> T assertThrowsExactly(Class<T> expectedType, Executable executable, @Nullable Object messageOrSupplier)
| |