Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.xni.parser

public Class XMLParseException

extends XNIException
Class Inheritance
Imports
com.sun.org.apache.xerces.internal.xni.XMLLocator, .XNIException

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.
Author
Andy Clark, IBM

Field Summary

Modifier and TypeField and Description
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.

pack-priv static final long

Constructor Summary

AccessConstructor and Description
public
XMLParseException(XMLLocator locator, String message)

Constructs a parse exception.

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

Constructs a parse exception.

Method Summary

Modifier and TypeMethod and Description
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()

Overrides java.lang.Throwable.toString.

Returns a string representation of this object.

Inherited from com.sun.org.apache.xerces.internal.xni.XNIException:
getCausegetException

Field Detail

fBaseSystemIdback to summary
protected String fBaseSystemId

Base system identifier.

fCharacterOffsetback to summary
protected int fCharacterOffset

Character offset.

fColumnNumberback to summary
protected int fColumnNumber

Column number.

fExpandedSystemIdback to summary
protected String fExpandedSystemId

expanded System identifier.

fLineNumberback to summary
protected int fLineNumber

Line number.

fLiteralSystemIdback to summary
protected String fLiteralSystemId

literal System identifier.

fPublicIdback to summary
protected String fPublicId

Public identifier.

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.sun.org.apache.xerces.internal.xni.XNIException.serialVersionUID.

Serialization version.

Constructor Detail

XMLParseExceptionback to summary
public XMLParseException(XMLLocator locator, String message)

Constructs a parse exception.

XMLParseExceptionback to summary
public XMLParseException(XMLLocator locator, String message, Exception exception)

Constructs a parse exception.

Method Detail

getBaseSystemIdback to summary
public String getBaseSystemId()

Returns the base system identifier.

getCharacterOffsetback to summary
public int getCharacterOffset()

Returns the character offset.

getColumnNumberback to summary
public int getColumnNumber()

Returns the row number.

getExpandedSystemIdback to summary
public String getExpandedSystemId()

Returns the expanded system identifier.

getLineNumberback to summary
public int getLineNumber()

Returns the line number.

getLiteralSystemIdback to summary
public String getLiteralSystemId()

Returns the literal system identifier.

getPublicIdback to summary
public String getPublicId()

Returns the public identifier.

toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Returns a string representation of this object.

Returns:String

Doc from java.lang.Throwable.toString.

a string representation of this throwable.