org.hsqldb.jdbc

Class Util

public class Util extends Object

Provides driver constants and a gateway from internal HsqlExceptions to external SQLExceptions.

Since: 1.7.2

Author: fredt@users

Method Summary
static SQLExceptionconnectionClosedException()
static SQLExceptioninvalidArgument()
static SQLExceptioninvalidArgument(String name)
static SQLExceptionnullArgument()
static SQLExceptionoutOfRangeArgument()
static SQLExceptionoutOfRangeArgument(String name)
static SQLExceptionsqlException(HsqlException e)
static SQLWarningsqlWarning(HsqlException e)

Method Detail

connectionClosedException

public static SQLException connectionClosedException()

invalidArgument

public static SQLException invalidArgument()

invalidArgument

public static SQLException invalidArgument(String name)

nullArgument

public static SQLException nullArgument()

outOfRangeArgument

public static SQLException outOfRangeArgument()

outOfRangeArgument

public static SQLException outOfRangeArgument(String name)

sqlException

public static final SQLException sqlException(HsqlException e)

sqlWarning

public static final SQLWarning sqlWarning(HsqlException e)
Copyright B) 2001 - 2005 HSQL Development Group. All Rights Reserved.