Package 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:
Serializable
- Direct Known Subclasses:
IncorrectResultSetColumnCountException
,IncorrectResultSizeDataAccessException
,LobRetrievalFailureException
,ObjectRetrievalFailureException
Exception thrown if certain expected data could not be retrieved, for example,
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:
-
Constructor Summary
ConstructorDescriptionConstructor for DataRetrievalFailureException.DataRetrievalFailureException
(String msg, Throwable cause) Constructor for DataRetrievalFailureException. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataRetrievalFailureException
Constructor for DataRetrievalFailureException.- Parameters:
msg
- the detail message
-
DataRetrievalFailureException
Constructor for DataRetrievalFailureException.- Parameters:
msg
- the detail messagecause
- the root cause from the data access API in use
-