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:
- 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
CollectionDeletedException
public CollectionDeletedException()
CollectionDeletedException
public CollectionDeletedException(String message)
CollectionDeletedException
public CollectionDeletedException(String message,
Throwable cause)
getMessage
public String getMessage()
- gets the id of the deleted collection.
- Overrides:
getMessage in class Throwable