processing.xml
Class XMLParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by processing.xml.XMLException
              extended by processing.xml.XMLParseException
All Implemented Interfaces:
java.io.Serializable

public class XMLParseException
extends XMLException

An XMLParseException is thrown when the XML passed to the XML parser is not well-formed.

See Also:
Serialized Form

Constructor Summary
XMLParseException(java.lang.String msg)
          Creates a new exception.
XMLParseException(java.lang.String systemID, int lineNr, java.lang.String msg)
          Creates a new exception.
 
Method Summary
 
Methods inherited from class processing.xml.XMLException
getException, getLineNr, getSystemID, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLParseException

public XMLParseException(java.lang.String msg)
Creates a new exception.

Parameters:
msg - the message of the exception.

XMLParseException

public XMLParseException(java.lang.String systemID,
                         int lineNr,
                         java.lang.String msg)
Creates a new exception.

Parameters:
systemID - the system ID from where the data came
lineNr - the line number in the XML data where the exception occurred.
msg - the message of the exception.