This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.xpath
exception XPathException

java.lang.Object extended by java.lang.Throwable extended by java.lang.Exception extended by javax.xml.xpath.XPathException
All Implemented Interfaces:
Serializable

public exception XPathException
extends Exception

XPathException represents a generic XPath exception.


Constructor Summary

          Constructs a new XPathException with the specified detail message.

          Constructs a new XPathException with the specified cause.
 
Method Summary
 Throwable

          Get the cause of this XPathException.
 void

          Print stack trace to System.err.
 void

          Print stack trace to specified PrintStream.
 void

          Print stack trace to specified PrintWriter.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathException

public XPathException(String message)

Constructs a new XPathException with the specified detail message.

The cause is not initialized.

If message is null, then a NullPointerException is thrown.

Parameters:
message - The detail message.

XPathException

public XPathException(Throwable cause)

Constructs a new XPathException with the specified cause.

If cause is null, then a NullPointerException is thrown.

Parameters:
cause - The cause.
Method Detail

getCause

public Throwable getCause()

Get the cause of this XPathException.

Overrides:
getCause in class Throwable
Returns:
Cause of this XPathException.

printStackTrace

public void printStackTrace()

Print stack trace to System.err.

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)

Print stack trace to specified PrintStream.

Overrides:
printStackTrace in class Throwable
Parameters:
s - Print stack trace to this PrintStream.

printStackTrace

public void printStackTrace(PrintWriter s)

Print stack trace to specified PrintWriter.

Overrides:
printStackTrace in class Throwable
Parameters:
s - Print stack trace to this PrintWriter.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.