org.outerj.daisy.repository
Class CollectionDeletedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.outerj.daisy.repository.RepositoryException
org.outerj.daisy.repository.CollectionDeletedException
- All Implemented Interfaces:
- java.io.Serializable
- public class CollectionDeletedException
- extends RepositoryException
Thrown if a collection has been removed at the same time someone was
editing a document that belonged to the removed collection. When
that document is saved, this Exception will be thrown.
The id of the removed collection can be fetched
using the getMessage method.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getMessage()
gets the id of the deleted collection. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CollectionDeletedException
public CollectionDeletedException()
CollectionDeletedException
public CollectionDeletedException(java.lang.String message)
CollectionDeletedException
public CollectionDeletedException(java.lang.String message,
java.lang.Throwable cause)
getMessage
public java.lang.String getMessage()
- gets the id of the deleted collection.
Copyright © -2005 . All Rights Reserved.