public final class VMStackTraceElement extends Object implements IVMStackTraceElement
| Constructor and Description |
|---|
VMStackTraceElement(String moduleName,
String operationName,
String unitQName,
int lineNumber)
Creates a stack trace element representing the specified execution
point.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getLineNumber()
Returns the line number of the source line containing the execution point
represented by this stack trace element.
|
String |
getModuleName()
Gets the name of the executed module.
|
String |
getOperationName()
Gets the name of the operation associated with this trace element.
|
String |
getUnitName()
Gets the name of the the unit containing the execution point.
|
int |
hashCode() |
String |
toString() |
public VMStackTraceElement(String moduleName, String operationName, String unitQName, int lineNumber)
NullPointerException - if fModuleName or
fOperationName is nullpublic String getUnitName()
IVMStackTraceElementgetUnitName in interface IVMStackTraceElementpublic int getLineNumber()
IVMStackTraceElementgetLineNumber in interface IVMStackTraceElementpublic String getModuleName()
IVMStackTraceElementgetModuleName in interface IVMStackTraceElementnull, in case the executed code
is not part of any module, for instance a condition of a top
level modeltype element.public String getOperationName()
IVMStackTraceElementRemark: It's possible that the name does not refer to an operation explicitly defined in OCL, but rather to a synthesized one.
getOperationName in interface IVMStackTraceElementCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.