Assertion Failed Error
Constructs an AssertionFailedError with an empty message, no cause, and no expected/actual values.
Constructs an AssertionFailedError with a message, no cause, and no expected/actual values.
Parameters
the detail message; null or blank will be converted to the empty String
Constructs an AssertionFailedError with a message and a cause but without expected/actual values.
Parameters
the detail message; null or blank will be converted to the empty String
the cause of the failure
Constructs an AssertionFailedError with a message and expected/actual values but without a cause.
Parameters
the detail message; null or blank will be converted to the empty String
the expected value; may be null
the actual value; may be null
Constructs an AssertionFailedError with a message, expected/actual values, and a cause.
Parameters
the detail message; null or blank will be converted to the empty String
the expected value; may be null
the actual value; may be null
the cause of the failure