java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
com.pervasive.datarush.exceptions.ArrayComparisonError
- All Implemented Interfaces:
Serializable
Thrown when two array elements differ.
-
Constructor Summary
ConstructorsConstructorDescriptionArrayComparisonError(String message, AssertionError cause, int index) Construct a newArrayComparisonErrorwith an error text and the array's dimension that was not equal. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ArrayComparisonError
Construct a newArrayComparisonErrorwith an error text and the array's dimension that was not equal.- Parameters:
cause- the exception that caused the array's content to fail the assertion testindex- the array position of the objects that are not equal.
-
-
Method Details
-
addDimension
public void addDimension(int index) -
getMessage
- Overrides:
getMessagein classThrowable
-
toString
-