Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.xml.xpath
Class XPathException

java.lang.Object
  extended by antlr.TokenStreamException
      extended by 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.


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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathException

public XPathException()

XPathException

public XPathException(String msg)

XPathException

public XPathException(Throwable nested)

XPathException

public XPathException(String msg,
                      Throwable nested)
Method Detail

getNestedException

public Throwable getNestedException()
Gets the nested exception.

Returns:
Nested exception

getNested

public Throwable getNested()
Gets the nested Throwable.

Returns:
Nested exception

superToString

public String superToString()

superPrintStackTrace

public void superPrintStackTrace(PrintStream ps)

superPrintStackTrace

public void superPrintStackTrace(PrintWriter pw)

toString

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

Returns:
String representation of the exception

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

printStackTrace

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


Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06