public class

DataRetrievalFailureException

extends NonTransientDataAccessException
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
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

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.

Summary

Public Constructors
DataRetrievalFailureException(String msg)
Constructor for DataRetrievalFailureException.
DataRetrievalFailureException(String msg, Throwable cause)
Constructor for DataRetrievalFailureException.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

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