类 RecoverableDataAccessException

  • 所有已实现的接口:
    Serializable

    public class RecoverableDataAccessException
    extends DataAccessException
    Data access exception thrown when a previously failed operation might be able to succeed if the application performs some recovery steps and retries the entire transaction or in the case of a distributed transaction, the transaction branch. At a minimum, the recovery operation must include closing the current connection and getting a new connection.
    从以下版本开始:
    2.5
    作者:
    Thomas Risberg
    另请参阅:
    SQLRecoverableException, 序列化表格
    • 构造器详细资料

      • RecoverableDataAccessException

        public RecoverableDataAccessException​(String msg,
                                              Throwable cause)
        Constructor for RecoverableDataAccessException.
        参数:
        msg - the detail message
        cause - the root cause (usually from using a underlying data access API such as JDBC)