blackboard.persist
Class DuplicateBatchUidException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by blackboard.base.NestedException
              extended by blackboard.persist.PersistenceException
                  extended by blackboard.persist.DuplicateBatchUidException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateBatchUidException
extends PersistenceException

An exception that can be thrown during object persistence that indicates a attempt was made to use a duplicate batch uid value. A batch uid is a unique identifier for an object in the system that can be used during batch/snapshot operations. The batch uid is generally not editable through the user interface but is derived from another unique value on an object. Since it is unique, any attempt to create a new object with a batch uid that already exists will fail.

Since:
Bb 7.3
See Also:
Serialized Form

Constructor Summary
DuplicateBatchUidException(java.lang.String msg)
          Constructs a new exception with the specified detail message.
DuplicateBatchUidException(java.lang.String msg, java.lang.Throwable nestedException)
          Constructs a new exception with the specified detail message and cause.
DuplicateBatchUidException(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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateBatchUidException

public DuplicateBatchUidException(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.

DuplicateBatchUidException

public DuplicateBatchUidException(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.

DuplicateBatchUidException

public DuplicateBatchUidException(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 © 2012 Blackboard, Inc. All Rights Reserved.