Daisy Open Source CMS

org.outerj.daisy.repository
Class RepositoryRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.outerj.daisy.repository.RepositoryRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidDocumentIdException

public class RepositoryRuntimeException
extends RuntimeException

See Also:
Serialized Form

Constructor Summary
RepositoryRuntimeException()
           
RepositoryRuntimeException(String message)
           
RepositoryRuntimeException(String message, Throwable cause)
           
RepositoryRuntimeException(Throwable cause)
           
 
Method Summary
 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryRuntimeException

public RepositoryRuntimeException()

RepositoryRuntimeException

public RepositoryRuntimeException(String message)

RepositoryRuntimeException

public RepositoryRuntimeException(Throwable cause)

RepositoryRuntimeException

public RepositoryRuntimeException(String message,
                                  Throwable cause)
Method Detail

getState

public 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.


Daisy Open Source CMS