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

Part Number E27170-01

weblogic.utils
Class NestedRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by weblogic.utils.NestedRuntimeException
All Implemented Interfaces:
Serializable, NestedThrowable
Direct Known Subclasses:
EncryptionServiceException, InvalidSecurityException, NoAccessRuntimeException, SecurityConfigurationException, SecurityInitializationException, SecurityServiceRuntimeException, XMLWriterRuntimeException

Deprecated. use JDK 1.4 style nested throwables where possible.

public class NestedRuntimeException
extends RuntimeException
implements NestedThrowable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface weblogic.utils.NestedThrowable
NestedThrowable.Util
 
Constructor Summary
NestedRuntimeException()
          Deprecated.  
NestedRuntimeException(String msg)
          Deprecated.  
NestedRuntimeException(String msg, Throwable nested)
          Deprecated.  
NestedRuntimeException(Throwable nested)
          Deprecated.  
 
Method Summary
 Throwable getNested()
          Deprecated. Gets the nested Throwable.
 Throwable getNestedException()
          Deprecated. Gets the nested exception.
 Throwable initCause(Throwable t)
          Deprecated.  
 void printStackTrace()
          Deprecated. Prints the stack trace associated with this exception and its nested exception to System.err.
 void printStackTrace(PrintStream s)
          Deprecated. Prints the stack trace associated with this exception and its nested exception.
 void printStackTrace(PrintWriter w)
          Deprecated. Prints the stack trace associated with this exception and its nested exception.
 void superPrintStackTrace(PrintStream ps)
          Deprecated. Call super.printStackTrace().
 void superPrintStackTrace(PrintWriter pw)
          Deprecated. Call super.printStackTrace().
 String superToString()
          Deprecated. Call super.toString().
 String toString()
          Deprecated. Prints the exception message and its nested exception message.
 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NestedRuntimeException

public NestedRuntimeException()
Deprecated. 

NestedRuntimeException

public NestedRuntimeException(String msg)
Deprecated. 

NestedRuntimeException

public NestedRuntimeException(Throwable nested)
Deprecated. 

NestedRuntimeException

public NestedRuntimeException(String msg,
                              Throwable nested)
Deprecated. 
Method Detail

initCause

public Throwable initCause(Throwable t)
Deprecated. 
Overrides:
initCause in class Throwable

getNestedException

public Throwable getNestedException()
Deprecated. 
Gets the nested exception.

Returns:
Nested exception

getNested

public Throwable getNested()
Deprecated. 
Gets the nested Throwable.

Specified by:
getNested in interface NestedThrowable
Returns:
Nested exception

superToString

public String superToString()
Deprecated. 
Description copied from interface: NestedThrowable
Call super.toString(). [Kludge but necessary.]

Specified by:
superToString in interface NestedThrowable

superPrintStackTrace

public void superPrintStackTrace(PrintStream ps)
Deprecated. 
Description copied from interface: NestedThrowable
Call super.printStackTrace(). [Kludge but necessary.]

Specified by:
superPrintStackTrace in interface NestedThrowable

superPrintStackTrace

public void superPrintStackTrace(PrintWriter pw)
Deprecated. 
Description copied from interface: NestedThrowable
Call super.printStackTrace(). [Kludge but necessary.]

Specified by:
superPrintStackTrace in interface NestedThrowable

toString

public String toString()
Deprecated. 
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)
Deprecated. 
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)
Deprecated. 
Prints the stack trace associated with this exception and its nested exception.

Overrides:
printStackTrace in class Throwable
Parameters:
w - PrintWriter

printStackTrace

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

Overrides:
printStackTrace in class Throwable

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