|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mortbay.util.Frame
Access the current execution frame. This version of the Frame class uses the JDK 1.4 mechanisms to access the stack frame
Constructor Summary | |
Frame()
Construct a frame. |
|
Frame(int ignoreFrames)
Construct a frame. |
Method Summary | |
int |
getDepth()
|
java.lang.String |
getFile()
|
java.lang.String |
getMethod()
|
Frame |
getParent()
Get a Frame representing the function one level up in this frame. |
java.lang.String |
getStack()
|
java.lang.StackTraceElement |
getStackTraceElement()
|
java.lang.String |
getThread()
|
java.lang.String |
getWhere()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Frame()
public Frame(int ignoreFrames)
ignoreFrames
- number of levels of stack to ignoreMethod Detail |
public java.lang.StackTraceElement getStackTraceElement()
public java.lang.String getStack()
public java.lang.String getMethod()
public int getDepth()
public java.lang.String getThread()
public java.lang.String getFile()
public java.lang.String getWhere()
public java.lang.String toString()
toString
in class java.lang.Object
public Frame getParent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |