org.jcoderz.commons
Class DatabaseAccessFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jcoderz.commons.BaseRuntimeException
                  extended by org.jcoderz.commons.RuntimeErrorException
                      extended by org.jcoderz.commons.DatabaseAccessFailedException
All Implemented Interfaces:
Serializable, Loggable

public class DatabaseAccessFailedException
extends RuntimeErrorException

The system encountered an exception while accessing a database. This exception encapsulates the log message RteLogMessage.DATABASE_ACCESS_FAILED.

Author:
generated
See Also:
Serialized Form

Constructor Summary
  DatabaseAccessFailedException()
          Constructs a database access failed exception with a cause.
protected DatabaseAccessFailedException(RteLogMessage messageInfo)
          Constructor getting an log message info.
protected DatabaseAccessFailedException(RteLogMessage messageInfo, Throwable cause)
          Constructor getting an log message info and a root exception.
  DatabaseAccessFailedException(Throwable cause)
          Constructs a database access failed exception with a cause.
 
Method Summary
 
Methods inherited from class org.jcoderz.commons.BaseRuntimeException
addParameter, getCause, getEventTime, getInstanceId, getLogMessageInfo, getMessage, getNodeId, getParameter, getParameterNames, getSourceClass, getSourceMethod, getThreadId, getThreadName, getTrackingNumber, initCause, log, logCreation, toDetailedString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseAccessFailedException

public DatabaseAccessFailedException(Throwable cause)
Constructs a database access failed exception with a cause.

Parameters:
cause - the cause of this exception.

DatabaseAccessFailedException

public DatabaseAccessFailedException()
Constructs a database access failed exception with a cause.


DatabaseAccessFailedException

protected DatabaseAccessFailedException(RteLogMessage messageInfo)
Constructor getting an log message info. This constructor is for generated exceptions internal use only.

Parameters:
messageInfo - the log message info for this exception

DatabaseAccessFailedException

protected DatabaseAccessFailedException(RteLogMessage messageInfo,
                                        Throwable cause)
Constructor getting an log message info and a root exception. This constructor is for generated exceptions internal use only.

Parameters:
messageInfo - the log message info for this exception
cause - the problem that caused this exception to be thrown


Copyright 2007 The jCoderZ Project.