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.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SQLRecoverableException(String
a description of the exception reason)Constructs a |
| public | SQLRecoverableException(String
a description of the exception reason, String an XOPEN or SQL:2003 code identifying the exception SQLState)Constructs a |
| public | SQLRecoverableException(String
a description of the exception reason, String an XOPEN or SQL:2003 code identifying the exception SQLState, int a database vendor specific exception code vendorCode)Constructs a |
| public | SQLRecoverableException(Throwable
the underlying reason for this cause)SQLException (which is saved for later retrieval by the getCause() method); may be null indicating
the cause is non-existent or unknown.Constructs a |
| public | SQLRecoverableException(String
a description of the exception. reason, Throwable the underlying reason for this cause)SQLException (which is saved for later retrieval by the getCause() method); may be null indicating
the cause is non-existent or unknown.Constructs a |
| public | SQLRecoverableException(String
a description of the exception. reason, String an XOPEN or SQL:2003 code identifying the exception SQLState, Throwable the underlying reason for this cause)SQLException (which is saved for later retrieval by the getCause() method); may be null indicating
the cause is non-existent or unknown.Constructs a |
| public | SQLRecoverableException(String
a description of the exception reason, String an XOPEN or SQL:2003 code identifying the exception SQLState, int a database vendor-specific exception code vendorCode, Throwable the underlying reason for this cause)SQLException (which is saved for later retrieval by the getCause() method); may be null indicating
the cause is non-existent or unknown.Constructs a |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SQLRecoverableException | back to summary |
|---|---|
| public SQLRecoverableException() Constructs a
| |
| SQLRecoverableException | back to summary |
|---|---|
| public SQLRecoverableException(String reason) Constructs a
| |
| SQLRecoverableException | back to summary |
|---|---|
| public SQLRecoverableException(String reason, String SQLState) Constructs a | |
| SQLRecoverableException | back to summary |
|---|---|
| public SQLRecoverableException(String reason, String SQLState, int vendorCode) Constructs a | |
| SQLRecoverableException | back to summary |
|---|---|
| public SQLRecoverableException(Throwable cause) Constructs a
| |
| SQLRecoverableException | back to summary |
|---|---|
| public SQLRecoverableException(String reason, Throwable cause) Constructs a | |
| SQLRecoverableException | back to summary |
|---|---|
| public SQLRecoverableException(String reason, String SQLState, Throwable cause) Constructs a
| |
| SQLRecoverableException | back to summary |
|---|---|
| public SQLRecoverableException(String reason, String SQLState, int vendorCode, Throwable cause) Constructs a
| |