| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static int | Returns: The error code.The exception from which to extract the SQLState sqlException)For the given SQLException, locates the vendor-specific error code. |
| public static String | Returns: The SQLState code, or null.The exception from which to extract the SQLState sqlException)For the given SQLException, locates the X/Open-compliant SQLState. |
| public static String | Returns: The SQLState class code, or null.The exception from which to extract the SQLState class code sqlException)For the given SQLException, locates the X/Open-compliant SQLState's class code. |
| JdbcExceptionHelper | back to summary |
|---|---|
| private JdbcExceptionHelper() | |
| determineSqlStateClassCode | back to summary |
|---|---|
| public static String determineSqlStateClassCode(String sqlState) | |
| extractErrorCode | back to summary |
|---|---|
| public static int extractErrorCode(SQLException sqlException) For the given SQLException, locates the vendor-specific error code.
| |
| extractSqlState | back to summary |
|---|---|
| public static String extractSqlState(SQLException sqlException) For the given SQLException, locates the X/Open-compliant SQLState.
| |
| extractSqlStateClassCode | back to summary |
|---|---|
| public static String extractSqlStateClassCode(SQLException sqlException) For the given SQLException, locates the X/Open-compliant SQLState's class code.
| |