Project Wonder 5.0

com.webobjects.woextensions
Class WOParsedErrorLine

java.lang.Object
  extended by com.webobjects.woextensions.WOParsedErrorLine

public class WOParsedErrorLine
extends java.lang.Object

WOParsedErrorLine is the class that will parse an exception line. After parsing a line (see format in the constructor comment), each instance will be able to get information about the line, class, method where the error occurs. Evolution : should rewrite the parsing stuff... And verify the real format of java exception... Be careful, apparently it could happen that the latest ")" on a line is not present. This is why in the parsing stuff I try to get the index of this closing parenthesis.


Field Summary
protected  java.lang.String _className
           
protected  java.lang.String _fileName
           
protected  boolean _ignorePackage
           
protected  int _line
           
protected  java.lang.String _methodName
           
protected  java.lang.String _packageName
           
 
Constructor Summary
WOParsedErrorLine(java.lang.String line)
           
 
Method Summary
 java.lang.String className()
           
 java.lang.String fileName()
           
 boolean isDisable()
           
 int line()
           
 java.lang.String lineNumber()
           
 java.lang.String methodName()
           
 java.lang.String packageClassPath()
           
 java.lang.String packageName()
           
protected  void setIgnorePackage(boolean yn)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_packageName

protected java.lang.String _packageName

_className

protected java.lang.String _className

_methodName

protected java.lang.String _methodName

_fileName

protected java.lang.String _fileName

_line

protected int _line

_ignorePackage

protected boolean _ignorePackage
Constructor Detail

WOParsedErrorLine

public WOParsedErrorLine(java.lang.String line)
Method Detail

packageName

public java.lang.String packageName()

className

public java.lang.String className()

packageClassPath

public java.lang.String packageClassPath()

methodName

public java.lang.String methodName()

isDisable

public boolean isDisable()

setIgnorePackage

protected void setIgnorePackage(boolean yn)

fileName

public java.lang.String fileName()

lineNumber

public java.lang.String lineNumber()

line

public int line()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.