类 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
- 所有已实现的接口:
Serializable
- 直接已知子类:
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.- 从以下版本开始:
- 13.10.2003
- 作者:
- Juergen Hoeller
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 DataRetrievalFailureException(String msg)
Constructor for DataRetrievalFailureException.DataRetrievalFailureException(String msg, Throwable cause)
Constructor for DataRetrievalFailureException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
DataRetrievalFailureException
public DataRetrievalFailureException(String msg)
Constructor for DataRetrievalFailureException.- 参数:
msg
- the detail message
DataRetrievalFailureException
public DataRetrievalFailureException(String msg, Throwable cause)
Constructor for DataRetrievalFailureException.- 参数:
msg
- the detail messagecause
- the root cause from the data access API in use