public class JDBCError
extends java.lang.Object
| Constructor and Description |
|---|
JDBCError() |
| Modifier and Type | Method and Description |
|---|---|
static java.sql.SQLException |
getSQLException(java.lang.String sqlState) |
static java.sql.SQLException |
getSQLException(java.lang.String sqlState,
java.lang.String extra) |
static void |
throwSQLException(java.lang.String sqlState)
Throws an SQL exception based on an error in the
error table.
|
public static void throwSQLException(java.lang.String sqlState)
throws java.sql.SQLException
sqlState - The SQL State.java.sql.SQLException - Always.public static java.sql.SQLException getSQLException(java.lang.String sqlState)
public static java.sql.SQLException getSQLException(java.lang.String sqlState,
java.lang.String extra)