类 TransientDataAccessException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.dao.DataAccessException
- org.springframework.dao.TransientDataAccessException
- 所有已实现的接口:
Serializable
public abstract class TransientDataAccessException extends DataAccessException
Root of the hierarchy of data access exceptions that are considered transient - where a previously failed operation might be able to succeed when the operation is retried without any intervention by application-level functionality.- 从以下版本开始:
- 2.5
- 作者:
- Thomas Risberg
- 另请参阅:
SQLTransientException
, 序列化表格
构造器概要
构造器 构造器 说明 TransientDataAccessException(String msg)
Constructor for TransientDataAccessException.TransientDataAccessException(String msg, Throwable cause)
Constructor for TransientDataAccessException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
TransientDataAccessException
public TransientDataAccessException(String msg)
Constructor for TransientDataAccessException.- 参数:
msg
- the detail message
TransientDataAccessException
public TransientDataAccessException(String msg, Throwable cause)
Constructor for TransientDataAccessException.- 参数:
msg
- the detail messagecause
- the root cause (usually from using a underlying data access API such as JDBC)