| Modifier and Type | Field and Description | 
|---|---|
static Base.StackFrame | 
UNKNOWN  | 
| Constructor and Description | 
|---|
StackFrame(String sExcept)
Construct a StackFrame object from a line of a stack trace. 
 | 
StackFrame(String sFile,
          String sClass,
          String sMethod,
          int nLine)
Construct a StackFrame object from its constituent data members. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getClassName()  | 
String | 
getFileName()  | 
String | 
getLine()  | 
int | 
getLineNumber()  | 
String | 
getMethodName()  | 
String | 
getShortClassName()  | 
protected void | 
init(String sFile,
    String sClass,
    String sMethod,
    int nLine)
Initialize the fields of the StackFrame object. 
 | 
String | 
toShortString()  | 
String | 
toString()  | 
public static final Base.StackFrame UNKNOWN
public StackFrame(String sExcept)
sExcept - a line of a stack trace in the format used by the
                 reference implementation of the JVMRuntimeException - if there is a runtime errorpublic StackFrame(String sFile, String sClass, String sMethod, int nLine)
sFile - the source file name (e.g. Test.java)sClass - the fully qualified class name (e.g. pkg.Test$1)sMethod - the method name (e.g. main)nLine - the line number (e.g. 17) or 0 if unknownprotected void init(String sFile, String sClass, String sMethod, int nLine)
sFile - the source file name (e.g. Test.java)sClass - the fully qualified class name (e.g. pkg.Test$1)sMethod - the method name (e.g. main)nLine - the line number (e.g. 17) or 0 if unknownpublic String getFileName()
public String getClassName()
public String getShortClassName()
public String getMethodName()
public int getLineNumber()
public String getLine()
public String toString()
public String toShortString()