java.lang.Object
org.hsqldb.jdbc.JDBCUtil
Provides driver constants and a gateway from internal HsqlExceptions to
external SQLExceptions.
- Since:
- 1.7.2
- Author:
- Campbell Burnet (campbell-burnet@users dot sourceforge.net), Fred Toussi (fredt@users dot sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SQLException
static SQLException
static SQLException
invalidArgument
(int id) static SQLException
invalidArgument
(String name) static SQLException
static SQLException
static SQLException
outOfRangeArgument
(String name) static SQLException
sqlException
(int id) static SQLException
sqlException
(int id, int add) static SQLException
sqlException
(int id, String message) static SQLException
sqlException
(int id, String message, Throwable cause) static SQLException
sqlException
(String msg, String sqlstate, int code, Throwable cause) static SQLException
static SQLException
sqlException
(org.hsqldb.HsqlException e) static SQLException
sqlException
(org.hsqldb.HsqlException e, Throwable cause) static SQLException
sqlException
(org.hsqldb.result.Result r) static SQLException
sqlExceptionSQL
(int id) static SQLWarning
sqlWarning
(org.hsqldb.result.Result r)
-
Constructor Details
-
JDBCUtil
public JDBCUtil()
-
-
Method Details
-
sqlException
-
sqlException
-
sqlException
-
sqlExceptionSQL
-
sqlException
-
sqlException
-
sqlException
-
nullArgument
-
invalidArgument
-
invalidArgument
-
invalidArgument
-
outOfRangeArgument
-
outOfRangeArgument
-
connectionClosedException
-
sqlWarning
-
sqlException
-
sqlException
-
sqlException
-