All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oracle.xml.parser.v2.XMLParseException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----org.xml.sax.SAXException
                           |
                           +----org.xml.sax.SAXParseException
                                   |
                                   +----oracle.xml.parser.v2.XMLParseException

public class XMLParseException
extends SAXParseException
Indicates that a parsing exception occurred while processing an XML document


Variable Index

 o ERROR
Code for non-fatal error
 o FATAL_ERROR
Code for fatal error
 o WARNING
Code for warning

Constructor Index

 o XMLParseException(String, String, String, int, int, int)

Method Index

 o formatErrorMessage(int)
Get the error message at specified index
 o getColumnNumber(int)
Get the column number of error at specified index
 o getException(int)
Get the exception (if exists) that occured in error at specified index
 o getLineNumber(int)
Get the line number of error at specified index
 o getMessage(int)
Get the error message at specified index
 o getMessageType(int)
Get the type of the error message at specified index
 o getNumMessages()
Return the total number of errors/warnings found during parsing
 o getPublicId(int)
Get the public ID of input when error at specified index occured
 o getSystemId(int)
Get the system ID of input when error at specified index occured

Variables

 o ERROR
 public static final int ERROR
Code for non-fatal error

 o FATAL_ERROR
 public static final int FATAL_ERROR
Code for fatal error

 o WARNING
 public static final int WARNING
Code for warning

Constructors

 o XMLParseException
 public XMLParseException(String mesg,
                          String pubId,
                          String sysId,
                          int line,
                          int col,
                          int type)

Methods

 o getNumMessages
 public int getNumMessages()
Return the total number of errors/warnings found during parsing

Returns:
The number of errors/warnings
 o getMessage
 public String getMessage(int i)
Get the error message at specified index

Returns:
The error message
 o formatErrorMessage
 public String formatErrorMessage(int i)
Get the error message at specified index

Returns:
The error message
 o getLineNumber
 public int getLineNumber(int i)
Get the line number of error at specified index

Returns:
The line number
 o getColumnNumber
 public int getColumnNumber(int i)
Get the column number of error at specified index

Returns:
The column number
 o getSystemId
 public String getSystemId(int i)
Get the system ID of input when error at specified index occured

Returns:
The system ID
 o getPublicId
 public String getPublicId(int i)
Get the public ID of input when error at specified index occured

Returns:
The public ID
 o getException
 public Exception getException(int i)
Get the exception (if exists) that occured in error at specified index

Returns:
The exception
 o getMessageType
 public int getMessageType(int i)
Get the type of the error message at specified index

Returns:
The error message type

All Packages  Class Hierarchy  This Package  Previous  Next  Index