Throwable have a 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 |
| ShouldHaveCauseExactlyInstance | back to summary |
|---|---|
| private ShouldHaveCauseExactlyInstance(Throwable actual, Class<? extends Throwable> expectedCauseType) | |
| ShouldHaveCauseExactlyInstance | back to summary |
|---|---|
| private ShouldHaveCauseExactlyInstance(Class<? extends Throwable> expectedCauseType, Throwable actual) | |
| shouldHaveCauseExactlyInstance | back to summary |
|---|---|
| public static ErrorMessageFactory shouldHaveCauseExactlyInstance(Throwable actual, Class<? extends Throwable> expectedCauseType) Creates a new
| |