public class

XMLParseException

extends XNIException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.apache.xerces.xni.XNIException
           ↳ org.apache.xerces.xni.parser.XMLParseException

Class Overview

A parsing exception. This exception is different from the standard XNI exception in that it stores the location in the document (or its entities) where the exception occurred.

Summary

Fields
protected String fBaseSystemId Base system identifier.
protected int fCharacterOffset Character offset.
protected int fColumnNumber Column number.
protected String fExpandedSystemId expanded System identifier.
protected int fLineNumber Line number.
protected String fLiteralSystemId literal System identifier.
protected String fPublicId Public identifier.
Public Constructors
XMLParseException(XMLLocator locator, String message)
Constructs a parse exception.
XMLParseException(XMLLocator locator, String message, Exception exception)
Constructs a parse exception.
Public Methods
String getBaseSystemId()
Returns the base system identifier.
int getCharacterOffset()
Returns the character offset.
int getColumnNumber()
Returns the row number.
String getExpandedSystemId()
Returns the expanded system identifier.
int getLineNumber()
Returns the line number.
String getLiteralSystemId()
Returns the literal system identifier.
String getPublicId()
Returns the public identifier.
String toString()
Returns a string representation of this object.
[Expand]
Inherited Methods
From class org.apache.xerces.xni.XNIException
From class java.lang.Throwable
From class java.lang.Object

Fields

protected String fBaseSystemId

Base system identifier.

protected int fCharacterOffset

Character offset.

protected int fColumnNumber

Column number.

protected String fExpandedSystemId

expanded System identifier.

protected int fLineNumber

Line number.

protected String fLiteralSystemId

literal System identifier.

protected String fPublicId

Public identifier.

Public Constructors

public XMLParseException (XMLLocator locator, String message)

Constructs a parse exception.

public XMLParseException (XMLLocator locator, String message, Exception exception)

Constructs a parse exception.

Public Methods

public String getBaseSystemId ()

Returns the base system identifier.

public int getCharacterOffset ()

Returns the character offset.

public int getColumnNumber ()

Returns the row number.

public String getExpandedSystemId ()

Returns the expanded system identifier.

public int getLineNumber ()

Returns the line number.

public String getLiteralSystemId ()

Returns the literal system identifier.

public String getPublicId ()

Returns the public identifier.

public String toString ()

Returns a string representation of this object.