org.hsqldb.jdbc
Class Util
java.lang.Object
   org.hsqldb.jdbc.Util
org.hsqldb.jdbc.Util
- public class Util 
- extends Object
Provides driver constants and a gateway from internal HsqlExceptions to
 external SQLExceptions.
- Since:
- 1.7.2
- Author:
- Campbell Boucher-Burnet (boucherb@users dot sourceforge.net), Fred Toussi (fredt@users dot sourceforge.net)
| Constructor Summary | 
| Util()
 | 
 
 
 
Util
public Util()
sqlException
public static final SQLException sqlException(org.hsqldb.HsqlException e)
- 
 
sqlException
public static final SQLException sqlException(org.hsqldb.HsqlException e,
                                              Throwable cause)
- 
 
sqlException
public static final SQLException sqlException(int id)
- 
 
sqlExceptionSQL
public static final SQLException sqlExceptionSQL(int id)
- 
 
sqlException
public static final SQLException sqlException(int id,
                                              String message)
- 
 
sqlException
public static final SQLException sqlException(int id,
                                              String message,
                                              Throwable cause)
- 
 
sqlException
public static final 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 final SQLException sqlException(String msg,
                                              String sqlstate,
                                              int code,
                                              Throwable cause)
- 
 
Copyright © 2001 - 2010 HSQL Development Group.