Project Wonder 5.0

com.webobjects.woextensions
Class WOParsedErrorLine

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

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

Field Detail

_packageName

protected String _packageName

_className

protected String _className

_methodName

protected String _methodName

_fileName

protected String _fileName

_line

protected int _line

_ignorePackage

protected boolean _ignorePackage
Constructor Detail

WOParsedErrorLine

public WOParsedErrorLine(String line)
Method Detail

packageName

public String packageName()

className

public String className()

packageClassPath

public String packageClassPath()

methodName

public String methodName()

isDisable

public boolean isDisable()

setIgnorePackage

protected void setIgnorePackage(boolean yn)

fileName

public String fileName()

lineNumber

public String lineNumber()

line

public int line()

toString

public String toString()
Overrides:
toString in class Object

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.