org.outerj.daisy.repository
Class RepositoryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.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

Constructor Summary
RepositoryException()
           
RepositoryException(java.lang.String message)
           
RepositoryException(java.lang.String message, java.lang.Throwable cause)
           
RepositoryException(java.lang.Throwable cause)
           
 
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
 

Constructor Detail

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)
Method Detail

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 © -2005 . All Rights Reserved.