blackboard.persist
Class PersistenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by blackboard.base.NestedException
              extended by blackboard.persist.PersistenceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
KeyNotFoundException

public class PersistenceException
extends NestedException

This class wraps exceptions generated during the persisting or loading of objects.

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

Field Summary
 
Fields inherited from class blackboard.base.NestedException
_nestedException
 
Constructor Summary
PersistenceException(java.lang.String msg)
          Creates a PersistenceException with the given message.
PersistenceException(java.lang.String msg, java.lang.Throwable nestedException)
          Creates a PersistenceException with the given message and provided nested exception.
PersistenceException(java.lang.Throwable nestedException)
          Constructor
 
Method Summary
 
Methods inherited from class blackboard.base.NestedException
getFullMessageTrace, getNestedException, printStackTrace, printStackTrace, 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
 

Constructor Detail

PersistenceException

public PersistenceException(java.lang.String msg)
Creates a PersistenceException with the given message.

Parameters:
msg - a String containing the exception message to use

PersistenceException

public PersistenceException(java.lang.Throwable nestedException)
Constructor


PersistenceException

public PersistenceException(java.lang.String msg,
                            java.lang.Throwable nestedException)
Creates a PersistenceException with the given message and provided nested exception.

Parameters:
msg - a String containing the exception message to use
nestedException - an Exception to "nest" within this exception to allow for passing back up the chain


Copyright © 2003 Blackboard, Inc. All Rights Reserved.