nanoxml
Class kXMLParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nanoxml.kXMLParseException
- All Implemented Interfaces:
- java.io.Serializable
- public class kXMLParseException
- extends java.lang.RuntimeException
An kXMLParseException is thrown when an error occures while parsing an XML
string.
$Revision: 1.1 $
$Date: 2002/05/13 17:34:51 $
- Version:
- 1.6
| Nested classes inherited from class java.lang.Throwable |
|
|
Field Summary |
private int |
lineNr
Where the error occurred, or -1 if the line number is unknown. |
| Fields inherited from class java.lang.Throwable |
|
|
Method Summary |
int |
getLineNr()
Where the error occurred, or -1 if the line number is unknown. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
lineNr
private int lineNr
- Where the error occurred, or -1 if the line number is unknown.
kXMLParseException
public kXMLParseException(java.lang.String tag,
java.lang.String message)
- Creates an exception.
kXMLParseException
public kXMLParseException(java.lang.String tag,
int lineNr,
java.lang.String message)
- Creates an exception.
getLineNr
public int getLineNr()
- Where the error occurred, or -1 if the line number is unknown.