StackTraceElement represents a stack frame.
Public Member Functions | |
boolean | equals (Object obj) |
String | getClassName () |
Returns the full name (i.e. | |
String | getFileName () |
If available, returns the name of the file containing the Java code source which was compiled into the class where this stack trace element is executing. | |
int | getLineNumber () |
If available, returns the line number in the source for the class where this stack trace element is executing. | |
String | getMethodName () |
Returns the name of the method where this stack trace element is executing. | |
int | hashCode () |
boolean | isNativeMethod () |
Returns true if the method name returned by getMethodName() is implemented as a native method. | |
String | toString () |
Package Functions | |
StackTraceElement (String cls, String method, String file, int line) | |
Create a StackTraceElement from the parameters. | |
Package Attributes | |
String | declaringClass |
String | methodName |
String | fileName |
int | lineNumber |
Static Package Attributes | |
static final long | serialVersionUID = 6992337162326171013L |
|
Create a StackTraceElement from the parameters.
|
|
Returns the full name (i.e. including the package) of the class where this stack trace element is executing.
|
|
If available, returns the name of the file containing the Java code source which was compiled into the class where this stack trace element is executing.
|
|
If available, returns the line number in the source for the class where this stack trace element is executing.
|
|
Returns the name of the method where this stack trace element is executing.
|
|
Returns
|