Top Description Fields Constructors Methods
org.assertj.core.error

public Class ShouldHaveNoCause

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating that an assertion that verifies that an Throwable has no cause failed.
Author
Joel Costigliola

Field Summary

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldHaveNoCause
(Throwable
the actual value in the failed assertion.
actual
)

Creates a new ShouldHaveNoCause.

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

Constructor Detail

ShouldHaveNoCauseback to summary
private ShouldHaveNoCause(Throwable actual)

Method Detail

shouldHaveNoCauseback to summary
public static ErrorMessageFactory shouldHaveNoCause(Throwable actual)

Creates a new ShouldHaveNoCause.

Parameters
actual:Throwable

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.