Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hsqldb.jdbc
Class JDBCUtil

    java.lang.Object
      org.hsqldb.jdbc.JDBCUtil

    public 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)

Constructor Summary
`JDBCUtil()`

Method Summary
`static SQLException` | `connectionClosedException()`
`static SQLException` | `invalidArgument()`
`static SQLException` | `invalidArgument(String name)`
`static SQLException` | `nullArgument()`
`static SQLException` | `outOfRangeArgument()`
`static SQLException` | `outOfRangeArgument(String name)`
`static SQLException` | `sqlException(org.hsqldb.HsqlException e)`
`static SQLException` | `sqlException(org.hsqldb.HsqlException e, Throwable cause)`
`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(org.hsqldb.result.Result r)`
`static SQLException` | `sqlException(String msg, String sqlstate, int code, Throwable cause)`
`static SQLException` | `sqlException(Throwable t)`
`static SQLException` | `sqlExceptionSQL(int id)`
`static SQLWarning` | `sqlWarning(org.hsqldb.result.Result r)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JDBCUtil

    public JDBCUtil()

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001 - 2013 HSQL Development Group.