SQLRecoverableException

public class SQLRecoverableException extends SQLException

The subclass of SQLException thrown in situations where 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.

Public Constructor Summary

SQLRecoverableException()
Constructs a SQLRecoverableException object.
SQLRecoverableException(String reason)
Constructs a SQLRecoverableException object with a given reason.
SQLRecoverableException(String reason, String SQLState)
Constructs a SQLRecoverableException object with a given reason and SQLState.
SQLRecoverableException(String reason, String SQLState, int vendorCode)
Constructs a SQLRecoverableException object with a given reason, SQLState and vendorCode.
SQLRecoverableException(Throwable cause)
Constructs a SQLRecoverableException object with a given cause.
SQLRecoverableException(String reason, Throwable cause)
Constructs a SQLRecoverableException object with a given reason and cause.
SQLRecoverableException(String reason, String SQLState, Throwable cause)
Constructs a SQLRecoverableException object with a given reason, SQLState and cause.
SQLRecoverableException(String reason, String SQLState, int vendorCode, Throwable cause)
Constructs a SQLRecoverableException object with a given reason, SQLState, vendorCode and cause.

Inherited Method Summary