|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base.StackFrame
public static class Base.StackFrame
A class that provides "stack frame" information from a line of a stack trace.
| Field Summary | |
|---|---|
static Base.StackFrame |
UNKNOWN |
| Constructor Summary | |
|---|---|
Base.StackFrame(String sExcept)Construct a StackFrame object from a line of a stack trace. |
|
Base.StackFrame(String sFile, String sClass, String sMethod, int nLine)Construct a StackFrame object from its constituent data members. |
|
| Method Summary | |
|---|---|
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() |
| Field Detail |
|---|
public static final Base.StackFrame UNKNOWN
| Constructor Detail |
|---|
public Base.StackFrame(String sExcept)
sExcept - a line of a stack trace in the format used by the reference implementation of the JVMRuntimeException
public Base.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 unknown| Method Detail |
|---|
protected 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()
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||