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()
IVMStackTraceElement
getUnitName
in interface IVMStackTraceElement
public int getLineNumber()
IVMStackTraceElement
getLineNumber
in interface IVMStackTraceElement
public String getModuleName()
IVMStackTraceElement
getModuleName
in interface IVMStackTraceElement
null
, in case the executed code
is not part of any module, for instance a condition of a top
level modeltype
element.public String getOperationName()
IVMStackTraceElement
Remark: 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 IVMStackTraceElement
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.