corda/classpath/java/lang/StackTraceElement.java

40 lines
695 B
Java
Raw Normal View History

2007-06-30 02:39:01 +00:00
package java.lang;
public class StackTraceElement {
private static int NativeLine = -2;
2007-06-30 02:39:01 +00:00
private String class_;
private String method;
private String file;
private int line;
private StackTraceElement(String class_, String method, String file,
int line)
{
this.class_ = class_;
this.method = method;
this.file = file;
this.line = line;
}
public String getClassName() {
return class_;
}
public String getMethodName() {
return method;
}
public String getFileName() {
return file;
}
public int getLineNumber() {
return line;
}
public boolean isNativeMethod() {
return line == NativeLine;
}
2007-06-30 02:39:01 +00:00
}