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