Package net.n3.nanoxml
Class XMLParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.n3.nanoxml.XMLException
-
- net.n3.nanoxml.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.- Author:
- Marc De Scheemaecker
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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 net.n3.nanoxml.XMLException
finalize, getException, getLineNr, getSystemID, printStackTrace, printStackTrace, printStackTrace, toString
-
-
-
-
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 camelineNr
- the line number in the XML data where the exception occurred.msg
- the message of the exception.
-
-