SQLException
thrown when the SQLState class value
is '40', or under vendor-specified conditions. This indicates that the
current statement was automatically rolled back by the database because
of deadlock or other transaction serialization failures.
Please consult your driver vendor documentation for the vendor-specified
conditions for which this Exception
may be thrown.
Modifier and Type | Field and Description |
---|---|
private static final long |
Access | Constructor and Description |
---|---|
public | |
public | SQLTransactionRollbackException(String
a description of the exception reason)Constructs a |
public | SQLTransactionRollbackException(String
a description of the exception reason, String an XOPEN or SQL:2003 code identifying the exception SQLState)Constructs a |
public | SQLTransactionRollbackException(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 | SQLTransactionRollbackException(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 | SQLTransactionRollbackException(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 | SQLTransactionRollbackException(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 | SQLTransactionRollbackException(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 |
SQLTransactionRollbackException | back to summary |
---|---|
public SQLTransactionRollbackException() Constructs a
|
SQLTransactionRollbackException | back to summary |
---|---|
public SQLTransactionRollbackException(String reason) Constructs a
|
SQLTransactionRollbackException | back to summary |
---|---|
public SQLTransactionRollbackException(String reason, String SQLState) Constructs a |
SQLTransactionRollbackException | back to summary |
---|---|
public SQLTransactionRollbackException(String reason, String SQLState, int vendorCode) Constructs a |
SQLTransactionRollbackException | back to summary |
---|---|
public SQLTransactionRollbackException(Throwable cause) Constructs a
|
SQLTransactionRollbackException | back to summary |
---|---|
public SQLTransactionRollbackException(String reason, Throwable cause) Constructs a |
SQLTransactionRollbackException | back to summary |
---|---|
public SQLTransactionRollbackException(String reason, String SQLState, Throwable cause) Constructs a
|
SQLTransactionRollbackException | back to summary |
---|---|
public SQLTransactionRollbackException(String reason, String SQLState, int vendorCode, Throwable cause) Constructs a
|