org.outerj.daisy.repository
Class CollectionNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.outerj.daisy.repository.RepositoryException
org.outerj.daisy.repository.CollectionNotFoundException
- All Implemented Interfaces:
- Serializable
public class CollectionNotFoundException
- extends RepositoryException
Thrown if a collection has been requested but it has not been found in the repository.
- See Also:
- Serialized Form
|
Method Summary |
String |
getMessage()
|
Map |
getState()
Exceptions which can externalize their state as a map containing
string-string pairs can override this method to do so. |
CollectionNotFoundException
public CollectionNotFoundException(long id)
CollectionNotFoundException
public CollectionNotFoundException(String name)
CollectionNotFoundException
public CollectionNotFoundException(Map params)
getState
public Map getState()
- Description copied from class:
RepositoryException
- Exceptions which can externalize their state as a map containing
string-string pairs can override this method to do so. In that
case, they should also have a constructor taking a Map as argument
allowing reconstruction of the exception.
This is used to reconstruct server-side exceptions in the repository
client.
- Overrides:
getState in class RepositoryException
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable