blackboard.base
Class NestedRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by blackboard.base.NestedRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class NestedRuntimeException
extends java.lang.RuntimeException

Base exception class for application specific exceptions that wish to hide the underlying exceptions. The original exception is be nested inside this exception so that the application can view details of the problem. This allows the application to be sheilded from the multiple types of exceptions that can be generated from different underlying implementations.

Since:
Bb 6.0
Version:
$Revision: #1 $ $Date: 2005/06/27 $
See Also:
Serialized Form

Field Summary
protected  java.lang.Throwable _nestedException
           
 
Constructor Summary
NestedRuntimeException(java.lang.String msg)
          Constructor
NestedRuntimeException(java.lang.String msg, java.lang.Throwable nestedException)
          Constructor
NestedRuntimeException(java.lang.Throwable nestedException)
          Constructor
 
Method Summary
 java.lang.String getFullMessageTrace()
           
 java.lang.Throwable getNestedException()
          getNestedException
 void printStackTrace()
          printStackTrace
 void printStackTrace(java.io.PrintStream s)
          printStackTrace
 void printStackTrace(java.io.PrintWriter s)
          printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_nestedException

protected java.lang.Throwable _nestedException
Constructor Detail

NestedRuntimeException

public NestedRuntimeException(java.lang.String msg)
Constructor


NestedRuntimeException

public NestedRuntimeException(java.lang.Throwable nestedException)
Constructor


NestedRuntimeException

public NestedRuntimeException(java.lang.String msg,
                              java.lang.Throwable nestedException)
Constructor

Method Detail

getNestedException

public java.lang.Throwable getNestedException()
getNestedException


printStackTrace

public void printStackTrace()
printStackTrace

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
printStackTrace

Overrides:
printStackTrace in class java.lang.Throwable

getFullMessageTrace

public java.lang.String getFullMessageTrace()

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
printStackTrace

Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2003 Blackboard, Inc. All Rights Reserved.