Class EUnitFailedModelComparisonException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.epsilon.eol.exceptions.EolRuntimeException
-
- org.eclipse.epsilon.eol.exceptions.EolAssertionException
-
- org.eclipse.epsilon.eunit.operations.EUnitFailedModelComparisonException
-
- All Implemented Interfaces:
Serializable
public class EUnitFailedModelComparisonException extends EolAssertionException
Extended version ofEolAssertionException
which tracks the comparator that produces the detected differences.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.exceptions.EolRuntimeException
ast, context, message, reason
-
-
Constructor Summary
Constructors Constructor Description EUnitFailedModelComparisonException(String reason, ModuleElement ast, Object expected, Object actual, Object delta, IModelComparator comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IModelComparator
getComparator()
-
Methods inherited from class org.eclipse.epsilon.eol.exceptions.EolAssertionException
getActual, getDelta, getExpected
-
Methods inherited from class org.eclipse.epsilon.eol.exceptions.EolRuntimeException
findCause, getAst, getColumn, getLine, getMessage, getReason, propagate, propagateDetailed, setAst, setMessage, setReason, toString, wrap
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
EUnitFailedModelComparisonException
public EUnitFailedModelComparisonException(String reason, ModuleElement ast, Object expected, Object actual, Object delta, IModelComparator comparator)
-
-
Method Detail
-
getComparator
public IModelComparator getComparator()
-
-