Class XMLParseException

All Implemented Interfaces:
Serializable

public class XMLParseException extends 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
See Also:
  • Constructor Details

  • Method Details

    • getPublicId

      public String getPublicId()
      Returns:
      the public identifier.
    • getExpandedSystemId

      public String getExpandedSystemId()
      Returns:
      the expanded system identifier.
    • getLiteralSystemId

      public String getLiteralSystemId()
      Returns:
      the literal system identifier.
    • getBaseSystemId

      public String getBaseSystemId()
      Returns:
      the base system identifier.
    • getLineNumber

      public int getLineNumber()
      Returns:
      the line number.
    • getColumnNumber

      public int getColumnNumber()
      Returns:
      the row number.
    • getCharacterOffset

      public int getCharacterOffset()
      Returns:
      the character offset.
    • toString

      public String toString()
      Overrides:
      toString in class Throwable