public class ShouldHaveSuppressedException extends BasicErrorMessageFactory
Throwable has a given suppressed exception failed.arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldHaveSuppressedException(java.lang.Throwable actual,
java.lang.Throwable expectedSuppressedException) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldHaveSuppressedException(java.lang.Throwable actual,
java.lang.Throwable expectedSuppressedException)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldHaveSuppressedException(java.lang.Throwable actual,
java.lang.Throwable expectedSuppressedException)
public static ErrorMessageFactory shouldHaveSuppressedException(java.lang.Throwable actual, java.lang.Throwable expectedSuppressedException)
ShouldHaveSuppressedException.actual - the throwable to check suppressed exceptions.expectedSuppressedException - the expected suppressed exception.ErrorMessageFactory.