Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

nanoxml
Class kXMLParseException  view kXMLParseException download kXMLParseException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bynanoxml.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 Class Summary
 
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.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
kXMLParseException(java.lang.String tag, int lineNr, java.lang.String message)
          Creates an exception.
kXMLParseException(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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lineNr

private int lineNr
Where the error occurred, or -1 if the line number is unknown.

Constructor Detail

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.

Method Detail

getLineNr

public int getLineNr()
Where the error occurred, or -1 if the line number is unknown.