Oracle® XML Java API Reference
Release 1 (10.1)

B12024-01

oracle.xml.parser.v2
Class XPathException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--oracle.xml.util.XMLException
                    |
                    +--oracle.xml.parser.v2.XSLException
                          |
                          +--oracle.xml.parser.v2.XPathException
All Implemented Interfaces:
java.io.Serializable

public class XPathException
extends XSLException

Indicates that an exception occurred during XPath processing.

See Also:
Serialized Form

Field Summary

 

Fields inherited from class oracle.xml.util.XMLException
ERROR, FATAL_ERROR, WARNING

 

Method Summary
 int getErrorID()
          Get error id
 java.lang.String getMessage()
          Overrride getMessage, in order to construct error message from error id, and error params
 java.lang.String getMessage(XMLError err)
          Get localized message based on the XMLError sent as parameter

 

Methods inherited from class oracle.xml.util.XMLException
formatErrorMessage, getColumnNumber, getException, getLineNumber, getMessage, getMessageType, getNumMessages, getPublicId, getSystemId, getXMLError, printStackTrace, printStackTrace, printStackTrace, setException, toString

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

getErrorID

public int getErrorID()
Get error id
Returns:
the error id

getMessage

public java.lang.String getMessage()
Overrride getMessage, in order to construct error message from error id, and error params
Overrides:
getMessage in class java.lang.Throwable
Returns:
error message for this exception

getMessage

public java.lang.String getMessage(XMLError err)
Get localized message based on the XMLError sent as parameter
Parameters:
err - XMLError class used to get the error message
Returns:
error message based on err

Oracle® XML Java API Reference
Release 1 (10.1)

B12024-01

Copyright © 2003, Oracle. All Rights Reserved.