|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException nanoxml.XMLParseException
public class XMLParseException
An XMLParseException is thrown when an error occures while parsing an XML string.
$Revision: 1.1 $
$Date: 2007/05/09 15:54:52 $
XMLElement
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
int |
getLineNr()
Where the error occurred, or -1 if the line number is unknown. |
Methods inherited from class java.lang.Throwable |
---|
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public int getLineNr()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |