org.hsqldb.jdbc
Class JDBCUtil
java.lang.Object
org.hsqldb.jdbc.JDBCUtil
public final class JDBCUtil
- extends Object
Provides driver constants and a gateway from internal HsqlExceptions to
external SQLExceptions.
- Since:
- 1.7.2
- Author:
- Campbell Burnet (boucherb@users dot sourceforge.net), Fred Toussi (fredt@users dot sourceforge.net)
JDBCUtil
public JDBCUtil()
sqlException
public static SQLException sqlException(org.hsqldb.HsqlException e)
sqlException
public static SQLException sqlException(org.hsqldb.HsqlException e,
Throwable cause)
sqlException
public static SQLException sqlException(int id)
sqlExceptionSQL
public static SQLException sqlExceptionSQL(int id)
sqlException
public static SQLException sqlException(int id,
String message)
sqlException
public static SQLException sqlException(int id,
String message,
Throwable cause)
sqlException
public static SQLException sqlException(int id,
int add)
nullArgument
public static SQLException nullArgument()
invalidArgument
public static SQLException invalidArgument()
invalidArgument
public static SQLException invalidArgument(String name)
outOfRangeArgument
public static SQLException outOfRangeArgument()
outOfRangeArgument
public static SQLException outOfRangeArgument(String name)
connectionClosedException
public static SQLException connectionClosedException()
sqlWarning
public static SQLWarning sqlWarning(org.hsqldb.result.Result r)
sqlException
public static SQLException sqlException(Throwable t)
sqlException
public static SQLException sqlException(org.hsqldb.result.Result r)
sqlException
public static SQLException sqlException(String msg,
String sqlstate,
int code,
Throwable cause)
Copyright © 2001 - 2013 HSQL Development Group.