public class XMLParseException
extends java.lang.RuntimeException
$Revision: 1.2 $
$Date: 2005/11/19 09:15:30 $
XMLElement,
Serialized Form| Constructor and Description |
|---|
XMLParseException(java.lang.String tag,
int lineNr,
java.lang.String message)
Creates an exception.
|
XMLParseException(java.lang.String tag,
java.lang.String message)
Creates an exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLineNr()
Where the error occurred, or -1 if the line number is unknown.
|
public XMLParseException(java.lang.String tag,
java.lang.String message)
tag - The name of the tag where the error is located.message - A message describing what went wrong.public XMLParseException(java.lang.String tag,
int lineNr,
java.lang.String message)
tag - The name of the tag where the error is located.lineNr - The number of the line in the input.message - A message describing what went wrong.