sunlabs.brazil.sunlabs
Class XmlTree.IllegalXmlException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.IllegalArgumentException
                          |
                          +--sunlabs.brazil.sunlabs.XmlTree.IllegalXmlException
All Implemented Interfaces:
Serializable
Enclosing class:
XmlTree

public static class XmlTree.IllegalXmlException
extends IllegalArgumentException

Do some more reasonable error handling. We'll stuff more info into the exception.

See Also:
Serialized Form

Field Summary
 Vector errors
           
 
Constructor Summary
XmlTree.IllegalXmlException(String s)
           
 
Method Summary
 int addError(int sl, String st, int cl, String ct)
           
static XmlTree.IllegalXmlException getEx(XmlTree.IllegalXmlException e, String s, int sl, String st, int cl, String ct)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errors

public Vector errors
Constructor Detail

XmlTree.IllegalXmlException

public XmlTree.IllegalXmlException(String s)
Method Detail

addError

public int addError(int sl,
                    String st,
                    int cl,
                    String ct)

getEx

public static XmlTree.IllegalXmlException getEx(XmlTree.IllegalXmlException e,
                                                String s,
                                                int sl,
                                                String st,
                                                int cl,
                                                String ct)

toString

public String toString()
Overrides:
toString in class Throwable

Version 2.1, Generated 12/30/04
Copyright (c) 2001-2004, Sun Microsystems.