blackboard.persist
Class KeyNotFoundException

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.KeyNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class KeyNotFoundException
extends PersistenceException

Exception indicating that the Id used to load an object was not found in the target data store ("container").

Since:
Bb 5.5
See Also:
Serialized Form

Constructor Summary
KeyNotFoundException(java.lang.String msg)
          Creates a KeyNotFoundException with the given message.
KeyNotFoundException(java.lang.String msg, java.lang.Exception nestedException)
          Creates a KeyNotFoundException with the given message and provided nested exception.
KeyNotFoundException(java.lang.Throwable nestedException)
          Constructor
 
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

KeyNotFoundException

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

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

KeyNotFoundException

public KeyNotFoundException(java.lang.Throwable nestedException)
Constructor


KeyNotFoundException

public KeyNotFoundException(java.lang.String msg,
                            java.lang.Exception nestedException)
Creates a KeyNotFoundException 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 © 2012 Blackboard, Inc. All Rights Reserved.