Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]
org.apache.xmlbeans
public class: XmlException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         org.apache.xmlbeans.XmlException

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    XPathCompileException, XPathGenerationException

A checked exception that can be thrown while processing, parsing, or compiling XML. May contain any number of XmlError objects.

Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public XmlException(String m) 
    Constructs an XmlException from a message.
 public XmlException(Throwable t) 
    Constructs an XmlException from a cause.
 public XmlException(XmlError error) 
    Constructs an XmlException from an XmlError .
 public XmlException(XmlRuntimeException xmlRuntimeException) 
 public XmlException(String m,
    Throwable t) 
    Constructs an XmlException from a message and a cause.
 public XmlException(String m,
    Throwable t,
    XmlError error) 
    Constructs an XmlException from a message, a cause, and an XmlError .
 public XmlException(String m,
    Throwable t,
    Collection errors) 
    Constructs an XmlException from a message, a cause, and a collection of XmlErrors .
Method from org.apache.xmlbeans.XmlException Summary:
getError,   getErrors
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xmlbeans.XmlException Detail:
 public XmlError getError() 
    Returns the first XmlErrors that caused the exception, if any.
 public Collection getErrors() 
    Returns the collection of XmlErrors that caused the exception, if any.