com.ibm.jtopenlite.database.jdbc
Class JDBCError
java.lang.Object
com.ibm.jtopenlite.database.jdbc.JDBCError
public class JDBCError
- extends Object
Utility class to report common SQL errors
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCError
public JDBCError()
throwSQLException
public static void throwSQLException(String sqlState)
throws SQLException
- Throws an SQL exception based on an error in the
error table.
- Parameters:
sqlState - The SQL State.
- Throws:
SQLException - Always.
getSQLException
public static SQLException getSQLException(String sqlState)
getSQLException
public static SQLException getSQLException(String sqlState,
String extra)