Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » dao » [javadoc | source]
org.springframework.dao
public class: DataRetrievalFailureException [javadoc | source]
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:
    Serializable

Direct Known Subclasses:
    ObjectRetrievalFailureException, JdoObjectRetrievalFailureException, HibernateObjectRetrievalFailureException, IncorrectResultSizeDataAccessException, LobRetrievalFailureException, IncorrectResultSetColumnCountException, JpaObjectRetrievalFailureException, HibernateObjectRetrievalFailureException, EmptyResultDataAccessException

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.
Constructor:
 public DataRetrievalFailureException(String msg) 
    Constructor for DataRetrievalFailureException.
    Parameters:
    msg - the detail message
 public DataRetrievalFailureException(String msg,
    Throwable cause) 
    Constructor for DataRetrievalFailureException.
    Parameters:
    msg - the detail message
    cause - the root cause from the data access API in use
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait