org.outerj.daisy.repository
Class RepositoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.outerj.daisy.repository.RepositoryException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AccessException, AuthenticationFailedException, BranchNotFoundException, CollectionDeletedException, CollectionNotFoundException, DocumentNotFoundException, DocumentTypeInconsistencyException, DocumentTypeNotFoundException, DocumentVariantNotFoundException, FieldTypeNotFoundException, LanguageNotFoundException, PartTypeNotFoundException, QueryException, UserManagementException
public class RepositoryException
- extends java.lang.Exception
Thrown if something goes wrong in the repository.
- See Also:
- Serialized Form
Method Summary |
java.util.Map |
getState()
Exceptions which can externalize their state as a map containing
string-string pairs can override this method to do so. |
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 |
RepositoryException
public RepositoryException()
RepositoryException
public RepositoryException(java.lang.String message)
RepositoryException
public RepositoryException(java.lang.String message,
java.lang.Throwable cause)
RepositoryException
public RepositoryException(java.lang.Throwable cause)
getState
public java.util.Map getState()
- 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.
Copyright © -2012 . All Rights Reserved.