Package org.assertj.core.error
Class ShouldHaveCause
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldHaveCause
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldHaveCause extends BasicErrorMessageFactory
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldHaveCause(Throwable expectedCause)
private
ShouldHaveCause(Throwable actualCause, Class<? extends Throwable> expectedCauseClass)
private
ShouldHaveCause(Throwable actualCause, String expectedCauseMessage)
private
ShouldHaveCause(Throwable actualCause, Throwable expectedCause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldHaveCause(Throwable actualCause)
static ErrorMessageFactory
shouldHaveCause(Throwable actualCause, Throwable expectedCause)
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Method Detail
-
shouldHaveCause
public static ErrorMessageFactory shouldHaveCause(Throwable actualCause, Throwable expectedCause)
-
shouldHaveCause
public static ErrorMessageFactory shouldHaveCause(Throwable actualCause)
-
-