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:
DuplicateBatchUidException, 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: 2007/06/27 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class blackboard.base.NestedException
_nestedException
 
Constructor Summary
PersistenceException(java.lang.String msg)
          Constructs a new exception with the specified detail message.
PersistenceException(java.lang.String msg, java.lang.Throwable nestedException)
          Constructs a new exception with the specified detail message and cause.
PersistenceException(java.lang.Throwable nestedException)
          Constructs a new exception with the specified cause and a detail message of {@code (cause==null ?
 
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)
Constructs a new exception with the specified detail message. The cause is not initialized.

Parameters:
msg - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

PersistenceException

public PersistenceException(java.lang.Throwable nestedException)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
nestedException - the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.

PersistenceException

public PersistenceException(java.lang.String msg,
                            java.lang.Throwable nestedException)
Constructs a new exception with the specified detail message and cause.

Parameters:
msg - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
nestedException - the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.


Copyright © 2003 Blackboard, Inc. All Rights Reserved.