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

Part Number E27170-01

weblogic.utils
Class NestedThrowable.Util

java.lang.Object
  extended by weblogic.utils.NestedThrowable.Util
Enclosing interface:
NestedThrowable

public static class NestedThrowable.Util
extends Object


Constructor Summary
NestedThrowable.Util()
           
 
Method Summary
static void printStackTrace(NestedThrowable nt, PrintStream s)
          Prints the stack trace associated with this exception and its nested exception.
static void printStackTrace(NestedThrowable nt, PrintWriter w)
          Prints the stack trace associated with this exception and its nested exception.
static String toString(NestedThrowable nt)
          Prints the exception message and its nested exception message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedThrowable.Util

public NestedThrowable.Util()
Method Detail

toString

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

Returns:
String representation of the exception

printStackTrace

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

Parameters:
s - PrintStream

printStackTrace

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

Parameters:
w - PrintWriter

Copyright 1996, 2013, 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.1.2)

Part Number E27170-01