org.springframework.dao
Class DataAccessResourceFailureException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.dao.DataAccessException
                      extended byorg.springframework.dao.DataAccessResourceFailureException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CannotGetJdbcConnectionException

public class DataAccessResourceFailureException
extends DataAccessException

Data access exception thrown when a resource fails completely: for example, if we can't connect to a database using JDBC.

Version:
$Id: DataAccessResourceFailureException.java,v 1.5 2004/03/18 02:46:07 trisberg Exp $
Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
DataAccessResourceFailureException(java.lang.String msg)
          Constructor for ResourceFailureDataAccessException.
DataAccessResourceFailureException(java.lang.String msg, java.lang.Throwable ex)
          Constructor for ResourceFailureDataAccessException.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataAccessResourceFailureException

public DataAccessResourceFailureException(java.lang.String msg)
Constructor for ResourceFailureDataAccessException.

Parameters:
msg - message

DataAccessResourceFailureException

public DataAccessResourceFailureException(java.lang.String msg,
                                          java.lang.Throwable ex)
Constructor for ResourceFailureDataAccessException.

Parameters:
msg - message
ex - root cause from data access API in use


Copyright (C) 2003-2004 The Spring Framework Project.