Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.dao
Class DataRetrievalFailureException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  org.springframework.core.NestedRuntimeException
                      org.springframework.dao.DataAccessException
                          org.springframework.dao.NonTransientDataAccessException
                              org.springframework.dao.DataRetrievalFailureException

All Implemented Interfaces:
  java.io.Serializable

Direct Known Subclasses:
  IncorrectResultSetColumnCountException, IncorrectResultSizeDataAccessException, LobRetrievalFailureException, ObjectRetrievalFailureException

    public class DataRetrievalFailureException

extends NonTransientDataAccessException

Exception thrown if certain expected data could not be retrieved, e.g. when looking up specific data via a known identifier. This exception will be thrown either by O/R mapping tools or by DAO implementations.

Since:
  13.10.2003
Author:
  Juergen Hoeller
See Also:
  Serialized Form

Constructor Summary
`DataRetrievalFailureException(java.lang.String msg)` Constructor for DataRetrievalFailureException.
`DataRetrievalFailureException(java.lang.String msg, java.lang.Throwable cause)` Constructor for DataRetrievalFailureException.

Method Summary

Methods inherited from class org.springframework.core.NestedRuntimeException
`contains, getMessage, getMostSpecificCause, getRootCause`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, 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

### DataRetrievalFailureException

    public DataRetrievalFailureException(java.lang.String msg)

  Constructor for DataRetrievalFailureException.

  Parameters:
    `msg` - the detail message

### DataRetrievalFailureException

    public DataRetrievalFailureException(java.lang.String msg,
                                         java.lang.Throwable cause)

  Constructor for DataRetrievalFailureException.

  Parameters:
    `msg` - the detail message
    `cause` - the root cause from the data access API in use

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD