Class EolRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.epsilon.eol.exceptions.EolRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EclNotApplicableSuperRuleException,EglRuntimeException,EolAbortTransactionException,EolAssertionException,EolEnumerationValueNotFoundException,EolIllegalOperationException,EolIllegalOperationParametersException,EolIllegalPropertyAssignmentException,EolIllegalPropertyException,EolIllegalReturnException,EolIllegalVariableAssignmentException,EolInternalException,EolInvalidMetaModelException,EolModelElementTypeNotFoundException,EolModelNotFoundException,EolNestedParallelismException,EolNoReturnException,EolNotAModelElementException,EolNotAnEnumerationValueException,EolNotApplicableOperationException,EolNotInstantiableModelElementTypeException,EolNullPointerException,EolReadOnlyPropertyException,EolReadOnlyVariableException,EolRedefinedVariableException,EolRuntimeExceptionReference,EolTerminationException,EolTernaryException,EolTypeNotFoundException,EolUndefinedVariableException,EolUserException,ErlCircularRuleInheritanceException,ErlRuleNotFoundException,EUnitParseException,EvlCircularAssumptionException,EvlConstraintNotFoundException,FlockRuntimeException,IllegalExtensionException,MatlabRuntimeException
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ModuleElementprotected IEolContextprotected Stringprotected String -
Constructor Summary
ConstructorsConstructorDescriptionEolRuntimeException(String reason) EolRuntimeException(String reason, Throwable cause) EolRuntimeException(String reason, ModuleElement ast) EolRuntimeException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic EolRuntimeExceptionTraverses the causes of the (usually unchecked) exception to find an EolRuntimeException.getAst()intintgetLine()static voidstatic voidvoidsetAst(ModuleElement ast) voidsetMessage(String message) voidtoString()static EolRuntimeExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
ast
-
reason
-
message
-
context
-
-
Constructor Details
-
EolRuntimeException
public EolRuntimeException() -
EolRuntimeException
-
EolRuntimeException
-
EolRuntimeException
-
EolRuntimeException
-
-
Method Details
-
getAst
-
setAst
-
getReason
-
setReason
-
setMessage
-
getLine
public int getLine() -
getColumn
public int getColumn() -
getMessage
- Overrides:
getMessagein classThrowable
-
toString
-
wrap
-
propagate
- Throws:
EolRuntimeException
-
propagateDetailed
- Throws:
EolRuntimeException
-
findCause
Traverses the causes of the (usually unchecked) exception to find an EolRuntimeException. If not found, it will wrap the root cause into an instance of EolRuntimeException. This method accounts for any depth of cyclic causes, so it is guaranteed to terminate; unless there is a StackOverflowError.
-