Dekoh platform API

dekoh.portal.fwk.persistence
Class DigitalObjectNotInCollectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by dekoh.portal.fwk.persistence.AccessDeniedException
                  extended by dekoh.portal.fwk.persistence.DigitalObjectNotInCollectionException
All Implemented Interfaces:
Serializable

public class DigitalObjectNotInCollectionException
extends AccessDeniedException

This Exception is thrown when DioCollection.getDigitalObject(int) is invoked and the collection does not contain a digital object with given id.

The digital object's id which did not exist in the collection can be gotten by calling DigitalObjectNotInCollectionException.getDioId()

Since:
Nov 23, 2006
See Also:
Serialized Form

Constructor Summary
DigitalObjectNotInCollectionException(int dioId, DioCollection collection)
           
 
Method Summary
 int getDioId()
           
 
Methods inherited from class dekoh.portal.fwk.persistence.AccessDeniedException
newCannotAccessCommentException, newCannotAccessDisabledShareException, newCannotAccessShareException, newCannotChangeMasterPasswordPolicy, newLoginRequiredToAccessSharesFeedException
 
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

DigitalObjectNotInCollectionException

public DigitalObjectNotInCollectionException(int dioId,
                                             DioCollection collection)
Method Detail

getDioId

public int getDioId()
Returns:
Id that is not part of the collection.

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers