com.centrasite.control.repository
Class RepositoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.centrasite.control.repository.RepositoryException
All Implemented Interfaces:
java.io.Serializable

public class RepositoryException
extends java.lang.Exception

An exception that occurs during repository access. A RepositoryException contains a code describing the reason and optionally a nested exception with the cause of the error.

See Also:
Serialized Form

Nested Class Summary
static class RepositoryException.Code
           
 
Constructor Summary
RepositoryException(java.lang.String message, RepositoryException.Code code)
           
RepositoryException(java.lang.String message, java.lang.Throwable cause, RepositoryException.Code code)
           
RepositoryException(java.lang.Throwable cause, RepositoryException.Code code)
           
 
Method Summary
 RepositoryException.Code getCode()
           
 
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

RepositoryException

public RepositoryException(java.lang.String message,
                           RepositoryException.Code code)

RepositoryException

public RepositoryException(java.lang.Throwable cause,
                           RepositoryException.Code code)

RepositoryException

public RepositoryException(java.lang.String message,
                           java.lang.Throwable cause,
                           RepositoryException.Code code)
Method Detail

getCode

public RepositoryException.Code getCode()