All Packages Class Hierarchy This Package Previous Next Index
Class oracle.xml.parser.XMLParseException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----org.xml.sax.SAXException
|
+----org.xml.sax.SAXParseException
|
+----oracle.xml.parser.XMLParseException
- public class XMLParseException
- extends SAXParseException
Indicates that a parsing exception occurred while processing an XML document
-
ERROR
- Code for non-fatal error
-
FATAL_ERROR
- Code for fatal error
-
WARNING
- Code for warning
-
getMessage(int)
- Get the error message at specified index
-
getMessageType(int)
- Get the type of the error message at specified index
-
getNumMessages()
- Return the total number of errors/warnings found during parsing
ERROR
public static final int ERROR
- Code for non-fatal error
FATAL_ERROR
public static final int FATAL_ERROR
- Code for fatal error
WARNING
public static final int WARNING
- Code for warning
getNumMessages
public int getNumMessages()
- Return the total number of errors/warnings found during parsing
- Returns:
- The number of errors/warnings
getMessage
public String getMessage(int i)
- Get the error message at specified index
- Returns:
- The error message
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