|
||||||||||
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 org.apache.xerces.xni.XNIException org.apache.xerces.xni.parser.XMLParseException
public class XMLParseException
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.
Constructor Summary | |
---|---|
XMLParseException(XMLLocator locator,
java.lang.String message)
Constructs a parse exception. |
|
XMLParseException(XMLLocator locator,
java.lang.String message,
java.lang.Exception exception)
Constructs a parse exception. |
Method Summary | |
---|---|
java.lang.String |
getBaseSystemId()
Returns the base system identifier. |
int |
getCharacterOffset()
Returns the character offset. |
int |
getColumnNumber()
Returns the row number. |
java.lang.String |
getExpandedSystemId()
Returns the expanded system identifier. |
int |
getLineNumber()
Returns the line number. |
java.lang.String |
getLiteralSystemId()
Returns the literal system identifier. |
java.lang.String |
getPublicId()
Returns the public identifier. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class org.apache.xerces.xni.XNIException |
---|
getException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XMLParseException(XMLLocator locator, java.lang.String message)
public XMLParseException(XMLLocator locator, java.lang.String message, java.lang.Exception exception)
Method Detail |
---|
public java.lang.String getPublicId()
public java.lang.String getExpandedSystemId()
public java.lang.String getLiteralSystemId()
public java.lang.String getBaseSystemId()
public int getLineNumber()
public int getColumnNumber()
public int getCharacterOffset()
public java.lang.String toString()
toString
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |