java.sql.SQLException
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private SQLException |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | |
| public SQLException | |
| public String |
| JDBCException | back to summary |
|---|---|
| public JDBCException(String string, SQLException root) | |
| JDBCException | back to summary |
|---|---|
| public JDBCException(String string, SQLException root, String sql) | |
| getErrorCode | back to summary |
|---|---|
| public int getErrorCode() Get the errorCode of the underlying SQLException.
| |
| getSQL | back to summary |
|---|---|
| public String getSQL() Get the actual SQL statement that caused the exception (may be null) | |
| getSQLException | back to summary |
|---|---|
| public SQLException getSQLException() Get the underlying SQLException.
| |
| getSQLState | back to summary |
|---|---|
| public String getSQLState() Get the SQLState of the underlying SQLException.
| |