public class ArrayComparisonFailure
extends java.lang.AssertionError
Constructor and Description |
---|
ArrayComparisonFailure(java.lang.String message,
java.lang.AssertionError cause,
int index)
Construct a new
ArrayComparisonFailure with an error text and the array's
dimension that was not equal |
Modifier and Type | Method and Description |
---|---|
void |
addDimension(int index) |
java.lang.String |
getMessage() |
java.lang.String |
toString() |
public ArrayComparisonFailure(java.lang.String message, java.lang.AssertionError cause, int index)
ArrayComparisonFailure
with an error text and the array's
dimension that was not equalcause
- the exception that caused the array's content to fail the assertion testindex
- the array position of the objects that are not equal.