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
Modifier and TypeFieldDescriptionprotected ModuleElement
protected IEolContext
protected String
protected String
-
Constructor Summary
ConstructorDescriptionEolRuntimeException
(String reason) EolRuntimeException
(String reason, Throwable cause) EolRuntimeException
(String reason, ModuleElement ast) EolRuntimeException
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic EolRuntimeException
Traverses the causes of the (usually unchecked) exception to find an EolRuntimeException.getAst()
int
int
getLine()
static void
static void
void
setAst
(ModuleElement ast) void
setMessage
(String message) void
toString()
static EolRuntimeException
Methods 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:
getMessage
in 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.
-