BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.xml.xpath
Class XPathException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--antlr.ANTLRException
                    |
                    +--antlr.TokenStreamException
                          |
                          +--weblogic.xml.xpath.XPathException
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.

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

Constructor Summary
XPathException()
           
XPathException(java.lang.String msg)
           
XPathException(java.lang.String msg, java.lang.Throwable nested)
           
XPathException(java.lang.Throwable nested)
           
 
Method Summary
 java.lang.Throwable getNested()
          Gets the nested Throwable.
 java.lang.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(java.io.PrintStream s)
          Prints the stack trace associated with this exception and its nested exception.
 void printStackTrace(java.io.PrintWriter w)
          Prints the stack trace associated with this exception and its nested exception.
 void superPrintStackTrace(java.io.PrintStream ps)
           
 void superPrintStackTrace(java.io.PrintWriter pw)
           
 java.lang.String superToString()
           
 java.lang.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(java.lang.String msg)

XPathException

public XPathException(java.lang.Throwable nested)

XPathException

public XPathException(java.lang.String msg,
                      java.lang.Throwable nested)
Method Detail

getNestedException

public java.lang.Throwable getNestedException()
Gets the nested exception.

Returns:
Nested exception

getNested

public java.lang.Throwable getNested()
Gets the nested Throwable.

Returns:
Nested exception

superToString

public java.lang.String superToString()

superPrintStackTrace

public void superPrintStackTrace(java.io.PrintStream ps)

superPrintStackTrace

public void superPrintStackTrace(java.io.PrintWriter pw)

toString

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

Returns:
String representation of the exception
Overrides:
toString in class java.lang.Throwable

printStackTrace

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

Parameters:
s - PrintStream
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

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

Parameters:
w - PrintWriter
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

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

Overrides:
printStackTrace in class java.lang.Throwable

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81