Top Description Constructors Methods
org.hsqldb.jdbc

public final Class JDBCUtil

extends Object
Class Inheritance
Imports
java.sql.SQLDataException, .SQLException, .SQLFeatureNotSupportedException, .SQLIntegrityConstraintViolationException, .SQLInvalidAuthorizationSpecException, .SQLNonTransientConnectionException, .SQLSyntaxErrorException, .SQLTransactionRollbackException, .SQLTransientConnectionException, .SQLWarning, org.hsqldb.HsqlException, org.hsqldb.error.Error, .ErrorCode, org.hsqldb.result.Result

Provides driver constants and a gateway from internal HsqlExceptions to external SQLExceptions.
Authors
Campbell Burnet (campbell-burnet@users dot sourceforge.net), Fred Toussi (fredt@users dot sourceforge.net)
Since
HSQLDB 1.7.2
Version
2.5.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static SQLException
public static SQLException
public static SQLException
public static SQLException
pack-priv static SQLException
pack-priv static SQLException
public static SQLException
pack-priv static SQLException
public static SQLException
public static SQLException
public static SQLException
public static SQLException
public static SQLException
sqlException(int id)

public static SQLException
sqlException(int id, String message)

public static SQLException
sqlException(int id, String message, Throwable cause)

public static SQLException
sqlException(int id, int add)

pack-priv static SQLException
sqlException(int id, int subId, String[] add)

public static SQLException
public static SQLException
public static SQLException
sqlException(String msg, String sqlstate, int code, Throwable cause)

public static SQLException
public static SQLWarning
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JDBCUtilback to summary
public JDBCUtil()

Method Detail

connectionClosedExceptionback to summary
public static SQLException connectionClosedException()
invalidArgumentback to summary
public static SQLException invalidArgument()
invalidArgumentback to summary
public static SQLException invalidArgument(String name)
invalidArgumentback to summary
public static SQLException invalidArgument(int id)
notSupportedback to summary
pack-priv static SQLException notSupported()
notUpdatableColumnback to summary
pack-priv static SQLException notUpdatableColumn()
nullArgumentback to summary
public static SQLException nullArgument()
nullArgumentback to summary
pack-priv static SQLException nullArgument(String name)
outOfRangeArgumentback to summary
public static SQLException outOfRangeArgument()
outOfRangeArgumentback to summary
public static SQLException outOfRangeArgument(String name)
sqlExceptionback to summary
public static SQLException sqlException(HsqlException e)
sqlExceptionback to summary
public static SQLException sqlException(HsqlException e, Throwable cause)
sqlExceptionback to summary
public static SQLException sqlException(int id)
sqlExceptionback to summary
public static SQLException sqlException(int id, String message)
sqlExceptionback to summary
public static SQLException sqlException(int id, String message, Throwable cause)
sqlExceptionback to summary
public static SQLException sqlException(int id, int add)
sqlExceptionback to summary
pack-priv static SQLException sqlException(int id, int subId, String[] add)
sqlExceptionback to summary
public static SQLException sqlException(Throwable t)
sqlExceptionback to summary
public static SQLException sqlException(Result r)
sqlExceptionback to summary
public static SQLException sqlException(String msg, String sqlstate, int code, Throwable cause)
sqlExceptionSQLback to summary
public static SQLException sqlExceptionSQL(int id)
sqlWarningback to summary
public static SQLWarning sqlWarning(Result r)