blackboard.persist
Class PersistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
blackboard.base.NestedException
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
|
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 ? |
| 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 |
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.