net.n3.nanoxml

Class XMLParseException


public class XMLParseException
extends XMLException

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

Version:
$Name: RELEASE_2_2_1 $, $Revision: 1.3 $

Author:
Marc De Scheemaecker

Constructor Summary

XMLParseException(String msg)
Creates a new exception.
XMLParseException(String systemID, int lineNr, 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 Details

XMLParseException

public XMLParseException(String msg)
Creates a new exception.

Parameters:
msg - the message of the exception.


XMLParseException

public XMLParseException(String systemID,
                         int lineNr,
                         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.