Throwable have a root cause
exactly instance of a certain type.
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ErrorMessageFactory | Returns: the createdErrorMessageFactory.the actual value in the failed assertion. actual, Class<? extends Throwable> the expected cause instance. expectedCauseType)Creates a new |
| ShouldHaveRootCauseExactlyInstance | back to summary |
|---|---|
| private ShouldHaveRootCauseExactlyInstance(Throwable actual, Class<? extends Throwable> expectedCauseType) | |
| ShouldHaveRootCauseExactlyInstance | back to summary |
|---|---|
| private ShouldHaveRootCauseExactlyInstance(Class<? extends Throwable> expectedCauseType, Throwable actual) | |
| shouldHaveRootCauseExactlyInstance | back to summary |
|---|---|
| public static ErrorMessageFactory shouldHaveRootCauseExactlyInstance(Throwable actual, Class<? extends Throwable> expectedCauseType) Creates a new
| |