The subclass of SQLException thrown when the timeout specified by
Statement.setQueryTimeout, DriverManager.setLoginTimeout,
DataSource.setLoginTimeout,XADataSource.setLoginTimeout
has expired.
This exception does not correspond to a standard SQLState.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SQLTimeoutException(String
a description of the exception reason)Constructs a |
| public | SQLTimeoutException(String
a description of the exception reason, String an XOPEN or SQL:2003 code identifying the exception SQLState)Constructs a |
| public | SQLTimeoutException(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 | SQLTimeoutException(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 | SQLTimeoutException(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 | SQLTimeoutException(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 | SQLTimeoutException(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 | |
| SQLTimeoutException | back to summary |
|---|---|
| public SQLTimeoutException() Constructs a
| |
| SQLTimeoutException | back to summary |
|---|---|
| public SQLTimeoutException(String reason) Constructs a
| |
| SQLTimeoutException | back to summary |
|---|---|
| public SQLTimeoutException(String reason, String SQLState) Constructs a | |
| SQLTimeoutException | back to summary |
|---|---|
| public SQLTimeoutException(String reason, String SQLState, int vendorCode) Constructs a | |
| SQLTimeoutException | back to summary |
|---|---|
| public SQLTimeoutException(Throwable cause) Constructs a
| |
| SQLTimeoutException | back to summary |
|---|---|
| public SQLTimeoutException(String reason, Throwable cause) Constructs a | |
| SQLTimeoutException | back to summary |
|---|---|
| public SQLTimeoutException(String reason, String SQLState, Throwable cause) Constructs a
| |
| SQLTimeoutException | back to summary |
|---|---|
| public SQLTimeoutException(String reason, String SQLState, int vendorCode, Throwable cause) Constructs a
| |