Package org.eclipse.m2m.qvt.oml
Interface ExecutionStackTraceElement
-
- All Known Implementing Classes:
QVTStackTraceElement
public interface ExecutionStackTraceElementAn element of the QVT execution stack trace. The frame at the top of the stack represents the execution point at which the stack trace was generated. Typically, this is the point at which a forcible execution interruption occurred.- Since:
- 2.0
- Interface is not intended to be implemented by clients.
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetLineNumber()Returns the line number of the source line containing the execution point represented by this stack trace element.StringgetModuleName()Gets the name of the executed module.StringgetOperationName()Gets the name of the operation associated with this trace element.StringgetUnitName()Gets the name of the the unit containing the execution point.
-
-
-
Method Detail
-
getUnitName
String getUnitName()
Gets the name of the the unit containing the execution point.- Returns:
- the name string
-
getModuleName
String getModuleName()
Gets the name of the executed module.- Returns:
- the name string or
null, in case the executed code is not part of any module, for instance a condition of a top levelmodeltypeelement.
-
getOperationName
String getOperationName()
Gets the name of the operation associated with this trace element.Remark: It's possible that the name does not refer to an operation explicitly defined in QVT, but rather to a synthesized one.
- Returns:
- the name string
-
getLineNumber
int getLineNumber()
Returns the line number of the source line containing the execution point represented by this stack trace element.- Returns:
- the line number of the source line containing the execution point represented by this stack trace element, or a negative number if this information is unavailable.
-
-