| java.lang.Object net.sourceforge.groboutils.util.throwable.v1.StackTraceLineParser
StackTraceLineParser | public class StackTraceLineParser (Code) | | Encompasses the line on which a Stack Trace occurs. Should not call
this "StackTraceElement", since that's a JDK 1.4 class in the java.lang
package.
author: Matt Albrecht groboclown@users.sourceforge.net since: March 17, 2002 version: $Date: 2003/09/29 21:10:36 $ |
Method Summary | |
protected String | findClassName(String line, int startPos, int lastDot, int endNamePos) | protected int | findLineNumber(String line, int startPos, int lastDot, int endNamePos) | protected String | findMethodName(String line, int startPos, int lastDot, int endNamePos) | public String | getClassName() | public int | getLineNumber() | public String | getMethodName() | protected void | notValidStackTraceLine(String line) | protected void | parseElement(Object el) We may not be in JDK 1.4 during compilation or runtime, but we
can support it through reflection anyway. | protected void | parseLine(String line) | public String | toString() |
StackTraceLineParser | public StackTraceLineParser(String className, String methodName)(Code) | | |
StackTraceLineParser | public StackTraceLineParser(String className, String methodName, int lineNumber)(Code) | | |
StackTraceLineParser | public StackTraceLineParser(Object obj)(Code) | | Parses a JDK 1.4 StackTraceElement or a stack trace line.
exception: IllegalArgumentException - if this is not a recognizable stacktrace line, or is null, or is not a StackTraceElement. |
findClassName | protected String findClassName(String line, int startPos, int lastDot, int endNamePos)(Code) | | |
findLineNumber | protected int findLineNumber(String line, int startPos, int lastDot, int endNamePos)(Code) | | |
findMethodName | protected String findMethodName(String line, int startPos, int lastDot, int endNamePos)(Code) | | |
getLineNumber | public int getLineNumber()(Code) | | |
notValidStackTraceLine | protected void notValidStackTraceLine(String line)(Code) | | |
parseElement | protected void parseElement(Object el)(Code) | | We may not be in JDK 1.4 during compilation or runtime, but we
can support it through reflection anyway.
|
|
|