org.greybird.xmliter
Class XmlIteratorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.greybird.xmliter.XmlIteratorException
All Implemented Interfaces:
java.io.Serializable

public class XmlIteratorException
extends java.lang.Exception

A input data processing problem that occured during XML iteration and is not an IOException or an Error.

When a SAXException or Xerces XNIException is thrown during parsing it will be wrapped with this exception. Other implementations of XmlIterator should throw this exception when a non-recoverable problem occurs that is not an IOException, an Error, or an unexpected RuntimeException.

See Also:
Serialized Form

Constructor Summary
XmlIteratorException(java.lang.String msg)
          Creates an XML iterator exception with a given message.
XmlIteratorException(java.lang.Throwable e)
          Creates an XML iterator exception wrapping another exception.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the exception that caused this exception or null.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlIteratorException

public XmlIteratorException(java.lang.String msg)
Creates an XML iterator exception with a given message.

XmlIteratorException

public XmlIteratorException(java.lang.Throwable e)
Creates an XML iterator exception wrapping another exception.
Method Detail

getCause

public java.lang.Throwable getCause()
Returns the exception that caused this exception or null.

Copyright (c) 2003 Mark T. Hayes; All Rights Reserved