Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.transaction
Class NestedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by weblogic.transaction.NestedException

All Implemented Interfaces:
Serializable, NestedThrowable

public class NestedException
extends Exception
implements NestedThrowable
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from interface weblogic.transaction.NestedThrowable
NestedThrowable.Util

 

Field Summary
protected  Throwable nested
           

 

Method Summary
 String getMessage()
           
 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace

 

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

 

Field Detail

nested

protected Throwable nested

Method Detail

getNestedException

public Throwable getNestedException()
Gets the nested exception.
Returns:
Nested exception

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getNested

public Throwable getNested()
Gets the nested Throwable.
Specified by:
getNested in interface NestedThrowable
Returns:
Nested exception

superToString

public String superToString()
Specified by:
superToString in interface NestedThrowable

superPrintStackTrace

public void superPrintStackTrace(PrintStream ps)
Specified by:
superPrintStackTrace in interface NestedThrowable

superPrintStackTrace

public void superPrintStackTrace(PrintWriter pw)
Specified by:
superPrintStackTrace in interface NestedThrowable

toString

public String toString()
Prints the exception message and its nested exception message.
Overrides:
toString in class Throwable
Returns:
String representation of the exception

printStackTrace

public void printStackTrace(PrintStream s)
Prints the stack trace associated with this exception and its nested exception.
Overrides:
printStackTrace in class Throwable
Parameters:
s - PrintStream

printStackTrace

public void printStackTrace(PrintWriter w)
Prints the stack trace associated with this exception and its nested exception.
Overrides:
printStackTrace in class Throwable
Parameters:
w - PrintStream

printStackTrace

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

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09