Package org.assertj.core.error
Class ShouldHaveNoSuppressedExceptions
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldHaveNoSuppressedExceptions
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldHaveNoSuppressedExceptions extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that aThrowable
has no suppressed exceptions failed.
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldHaveNoSuppressedExceptions(Object actual)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldHaveNoSuppressedExceptions(Object actual)
Creates a new
.ShouldHaveNoSuppressedExceptions
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Constructor Detail
-
ShouldHaveNoSuppressedExceptions
private ShouldHaveNoSuppressedExceptions(Object actual)
-
-
Method Detail
-
shouldHaveNoSuppressedExceptions
public static ErrorMessageFactory shouldHaveNoSuppressedExceptions(Object actual)
Creates a new
.ShouldHaveNoSuppressedExceptions
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-
-