org.mortbay.log
Class Frame
public class Frame
extends java.lang.Object
Access the current execution frame.
This version of the Frame class uses the JDK 1.4 mechanisms to
access the stack frame
Frame() - Construct a frame.
|
Frame(int ignoreFrames) - Construct a frame.
|
Frame
public Frame()
Construct a frame.
Frame
public Frame(int ignoreFrames)
Construct a frame.
ignoreFrames
- number of levels of stack to ignore
getDepth
public int getDepth()
getFile
public String getFile()
getMethod
public String getMethod()
getParent
public Frame getParent()
Get a Frame representing the function one level up in this frame.
- parent frame or null if none
getStack
public String getStack()
getStackTraceElement
public StackTraceElement getStackTraceElement()
getThread
public String getThread()
getWhere
public String getWhere()
toString
public String toString()
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.