BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.xml.xpath
Class XPathException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byantlr.ANTLRException
              extended byantlr.TokenStreamException
                  extended byweblogic.xml.xpath.XPathException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XPathParsingException, XPathUnsupportedException

public class XPathException
extends antlr.TokenStreamException

Base class for exceptions which indicate that something went awry while parsing or evaluating an XPath.

See Also:
Serialized Form
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
XPathException()
           
XPathException(String msg)
           
XPathException(String msg, Throwable nested)
           
XPathException(Throwable nested)
           
 
Method Summary
 Throwable getNested()
          Gets the nested Throwable.
 Throwable getNestedException()
          Gets the nested exception.
 void printStackTrace()
          Prints the stack trace associated with this exception and its nested exception to System.err.
 void printStackTrace(PrintStream s)
          Prints the stack trace associated with this exception and its nested exception.
 void printStackTrace(PrintWriter w)
          Prints the stack trace associated with this exception and its nested exception.
 void superPrintStackTrace(PrintStream ps)
           
 void superPrintStackTrace(PrintWriter pw)
           
 String superToString()
           
 String toString()
          Prints the exception message and its nested exception message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathException

public XPathException()

XPathException

public XPathException(String msg)

XPathException

public XPathException(String msg,
                      Throwable nested)

XPathException

public XPathException(Throwable nested)
Method Detail

getNested

public Throwable getNested()
Gets the nested Throwable.

Returns:
Nested exception

getNestedException

public Throwable getNestedException()
Gets the nested exception.

Returns:
Nested exception

printStackTrace

public void printStackTrace()
Prints the stack trace associated with this exception and its nested exception to System.err.


printStackTrace

public void printStackTrace(PrintStream s)
Prints the stack trace associated with this exception and its nested exception.

Parameters:
s - PrintStream

printStackTrace

public void printStackTrace(PrintWriter w)
Prints the stack trace associated with this exception and its nested exception.

Parameters:
w - PrintWriter

superPrintStackTrace

public void superPrintStackTrace(PrintStream ps)

superPrintStackTrace

public void superPrintStackTrace(PrintWriter pw)

superToString

public String superToString()

toString

public String toString()
Prints the exception message and its nested exception message.

Returns:
String representation of the exception

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.