Top Fields Constructors Methods
org.assertj.core.error

public Class ShouldHaveRootCause

extends BasicErrorMessageFactory
Class Inheritance
Static Imports
org.assertj.core.util.Preconditions.checkArgument, .Strings.escapePercent, .Throwables.getStackTrace

Field Summary

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private
ShouldHaveRootCause(Throwable actual, Throwable actualCause, Throwable expectedCause)

private
ShouldHaveRootCause(Throwable actual, Throwable expectedCause)

private
ShouldHaveRootCause(Throwable actual, Throwable actualCause, Class<? extends Throwable> expectedCauseClass)

private
ShouldHaveRootCause(Throwable actual, String expectedMessage)

private
ShouldHaveRootCause(Throwable actual, Throwable actualCause, String expectedCauseMessage)

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory
shouldHaveRootCause(Throwable actual, Throwable actualCause, Throwable expectedCause)

public static ErrorMessageFactory
public static ErrorMessageFactory
shouldHaveRootCauseWithMessage(Throwable actual, Throwable actualCause, String expectedMessage)

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

ShouldHaveRootCauseback to summary
private ShouldHaveRootCause(Throwable actual, Throwable actualCause, Throwable expectedCause)
ShouldHaveRootCauseback to summary
private ShouldHaveRootCause(Throwable actual, Throwable expectedCause)
ShouldHaveRootCauseback to summary
private ShouldHaveRootCause(Throwable actual, Throwable actualCause, Class<? extends Throwable> expectedCauseClass)
ShouldHaveRootCauseback to summary
private ShouldHaveRootCause(Throwable actual, String expectedMessage)
ShouldHaveRootCauseback to summary
private ShouldHaveRootCause(Throwable actual, Throwable actualCause, String expectedCauseMessage)

Method Detail

shouldHaveRootCauseback to summary
public static ErrorMessageFactory shouldHaveRootCause(Throwable actual, Throwable actualCause, Throwable expectedCause)
shouldHaveRootCauseback to summary
public static ErrorMessageFactory shouldHaveRootCause(Throwable actualCause)
shouldHaveRootCauseWithMessageback to summary
public static ErrorMessageFactory shouldHaveRootCauseWithMessage(Throwable actual, Throwable actualCause, String expectedMessage)