Top Description Constructors
org.springframework.dao

public Class DataRetrievalFailureException

extends NonTransientDataAccessException
Class Inheritance
Known Direct Subclasses
org.springframework.dao.IncorrectResultSizeDataAccessException
Annotations
@SuppressWarnings:serial
Imports
org.springframework.lang.Nullable

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.
Author
Juergen Hoeller
Since
13.10.2003

Constructor Summary

AccessConstructor and Description
public
DataRetrievalFailureException(String
the detail message
msg
)

Constructor for DataRetrievalFailureException.

public
DataRetrievalFailureException(String
the detail message
msg
,
Throwable
the root cause from the data access API in use
cause
)

Constructor for DataRetrievalFailureException.

Constructor Detail

DataRetrievalFailureExceptionback to summary
public DataRetrievalFailureException(String msg)

Constructor for DataRetrievalFailureException.

Parameters
msg:String

the detail message

DataRetrievalFailureExceptionback to summary
public DataRetrievalFailureException(String msg, Throwable cause)

Constructor for DataRetrievalFailureException.

Parameters
msg:String

the detail message

cause:Throwable

the root cause from the data access API in use