org.hsqldb.jdbc
Class JDBCUtil
- java.lang.Object
-
- org.hsqldb.jdbc.JDBCUtil
-
public class JDBCUtil extends java.lang.ObjectProvides driver constants and a gateway from internal HsqlExceptions to external SQLExceptions.- Since:
- 1.7.2
-
-
Constructor Summary
Constructors Constructor and Description JDBCUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.sql.SQLExceptionconnectionClosedException()static java.sql.SQLExceptioninvalidArgument()static java.sql.SQLExceptioninvalidArgument(java.lang.String name)static java.sql.SQLExceptionnullArgument()static java.sql.SQLExceptionoutOfRangeArgument()static java.sql.SQLExceptionoutOfRangeArgument(java.lang.String name)static java.sql.SQLExceptionsqlException(HsqlException e)static java.sql.SQLExceptionsqlException(HsqlException e, java.lang.Throwable cause)static java.sql.SQLExceptionsqlException(int id)static java.sql.SQLExceptionsqlException(int id, int add)static java.sql.SQLExceptionsqlException(int id, java.lang.String message)static java.sql.SQLExceptionsqlException(int id, java.lang.String message, java.lang.Throwable cause)static java.sql.SQLExceptionsqlException(Result r)static java.sql.SQLExceptionsqlException(java.lang.String msg, java.lang.String sqlstate, int code, java.lang.Throwable cause)static java.sql.SQLExceptionsqlException(java.lang.Throwable t)static java.sql.SQLExceptionsqlExceptionSQL(int id)static java.sql.SQLWarningsqlWarning(Result r)
-
-
-
Method Detail
-
sqlException
public static final java.sql.SQLException sqlException(HsqlException e)
-
sqlException
public static final java.sql.SQLException sqlException(HsqlException e, java.lang.Throwable cause)
-
sqlException
public static final java.sql.SQLException sqlException(int id)
-
sqlExceptionSQL
public static final java.sql.SQLException sqlExceptionSQL(int id)
-
sqlException
public static final java.sql.SQLException sqlException(int id, java.lang.String message)
-
sqlException
public static final java.sql.SQLException sqlException(int id, java.lang.String message, java.lang.Throwable cause)
-
sqlException
public static final java.sql.SQLException sqlException(int id, int add)
-
nullArgument
public static java.sql.SQLException nullArgument()
-
invalidArgument
public static java.sql.SQLException invalidArgument()
-
invalidArgument
public static java.sql.SQLException invalidArgument(java.lang.String name)
-
outOfRangeArgument
public static java.sql.SQLException outOfRangeArgument()
-
outOfRangeArgument
public static java.sql.SQLException outOfRangeArgument(java.lang.String name)
-
connectionClosedException
public static java.sql.SQLException connectionClosedException()
-
sqlWarning
public static java.sql.SQLWarning sqlWarning(Result r)
-
sqlException
public static java.sql.SQLException sqlException(java.lang.Throwable t)
-
sqlException
public static java.sql.SQLException sqlException(Result r)
-
sqlException
public static final java.sql.SQLException sqlException(java.lang.String msg, java.lang.String sqlstate, int code, java.lang.Throwable cause)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG