public class ArrayComparisonFailure extends AssertionError
| Constructor and Description | 
|---|
| ArrayComparisonFailure(String message,
                      AssertionError cause,
                      int index)Construct a new  ArrayComparisonFailurewith an error text and the array's dimension that was not
 equal | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addDimension(int index) | 
| String | getMessage()Returns the detail message string of this throwable. | 
| String | toString()Returns a short description of this throwable. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTracepublic ArrayComparisonFailure(String message, 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.Assert.assertArrayEquals(String, Object[], Object[])public void addDimension(int index)
public String getMessage()
ThrowablegetMessage in class ThrowableThrowable instance (which may be null).public String toString()
Throwable.getLocalizedMessage() method
 getLocalizedMessage returns null, then just the class name is returned.