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 privateShouldHaveRootCause(java.lang.Throwable actual, java.lang.String expectedMessage)privateShouldHaveRootCause(java.lang.Throwable actual, java.lang.Throwable expectedCause)privateShouldHaveRootCause(java.lang.Throwable actual, java.lang.Throwable actualCause, java.lang.Class<? extends java.lang.Throwable> expectedCauseClass)privateShouldHaveRootCause(java.lang.Throwable actual, java.lang.Throwable actualCause, java.lang.String expectedCauseMessage)privateShouldHaveRootCause(java.lang.Throwable actual, java.lang.Throwable actualCause, java.lang.Throwable expectedCause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldHaveRootCause(java.lang.Throwable actualCause)static ErrorMessageFactoryshouldHaveRootCause(java.lang.Throwable actual, java.lang.Throwable actualCause, java.lang.Throwable expectedCause)static ErrorMessageFactoryshouldHaveRootCauseWithMessage(java.lang.Throwable actual, java.lang.Throwable actualCause, java.lang.String expectedMessage)-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Constructor Detail
-
ShouldHaveRootCause
private ShouldHaveRootCause(java.lang.Throwable actual, java.lang.Throwable actualCause, java.lang.Throwable expectedCause)
-
ShouldHaveRootCause
private ShouldHaveRootCause(java.lang.Throwable actual, java.lang.Throwable expectedCause)
-
ShouldHaveRootCause
private ShouldHaveRootCause(java.lang.Throwable actual, java.lang.Throwable actualCause, java.lang.Class<? extends java.lang.Throwable> expectedCauseClass)
-
ShouldHaveRootCause
private ShouldHaveRootCause(java.lang.Throwable actual, java.lang.String expectedMessage)
-
ShouldHaveRootCause
private ShouldHaveRootCause(java.lang.Throwable actual, java.lang.Throwable actualCause, java.lang.String expectedCauseMessage)
-
-
Method Detail
-
shouldHaveRootCauseWithMessage
public static ErrorMessageFactory shouldHaveRootCauseWithMessage(java.lang.Throwable actual, java.lang.Throwable actualCause, java.lang.String expectedMessage)
-
shouldHaveRootCause
public static ErrorMessageFactory shouldHaveRootCause(java.lang.Throwable actual, java.lang.Throwable actualCause, java.lang.Throwable expectedCause)
-
shouldHaveRootCause
public static ErrorMessageFactory shouldHaveRootCause(java.lang.Throwable actualCause)
-
-