com.sri.common.dbobj
Class RepositoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sri.common.dbobj.RepositoryException
All Implemented Interfaces:
Serializable

public class RepositoryException
extends RuntimeException

Runtime Exception for underlying repository errors. Most errors such as database connection lost errors are not really handleable and therefore are set as runtime.

Author:
Michael Rimov
See Also:
Serialized Form

Constructor Summary
RepositoryException()
          Default constructor.
RepositoryException(String message)
          Constructor that takes a message.
RepositoryException(String message, Throwable cause)
          Constructor that takes a message and a nested exception.
RepositoryException(Throwable cause)
          Constructor that takes a nested exception/error.
 
Method Summary
 
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()
Default constructor.


RepositoryException

public RepositoryException(String message)
Constructor that takes a message.

Parameters:
message - String

RepositoryException

public RepositoryException(Throwable cause)
Constructor that takes a nested exception/error.

Parameters:
cause - Throwable the nested error.

RepositoryException

public RepositoryException(String message,
                           Throwable cause)
Constructor that takes a message and a nested exception.

Parameters:
message - String the message.
cause - Throwable the underlying exception.


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.