jxDBCon 0.9z

org.sourceforge.jxdbcon
Class DefaultExceptions

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.AbstractExceptions
        |
        +--org.sourceforge.jxdbcon.DefaultExceptions
Direct Known Subclasses:
DB2Exceptions, PGExceptions

public class DefaultExceptions
extends AbstractExceptions

.

Version:
$Revision: 1.5 $, $Date: 2002/03/16 01:26:07 $
Author:
Keve Müller

Constructor Summary
protected DefaultExceptions()
          Can't instantiate.
 
Method Summary
static SQLException badQuery(Exception ex, Object lst)
           
static SQLException connClosed()
           
static SQLException illegalArgument(String detail)
           
static SQLException invalidURL(String url)
           
static SQLException notAllowed()
           
static SQLException notQuery(String sql)
           
static SQLException notSupported()
           
static SQLException notSupported(String detail)
           
static SQLException notSupportedDB()
           
static SQLException notUpdate(String sql)
           
static SQLException requiredParam(String param)
           
static SQLException requiredPosParam(int pos, Object type)
           
static SQLException stmtClosed()
           
static SQLException wrap(InterruptedException ex)
           
static SQLException wrap(IOException ex)
           
static SQLException wrap(UnknownHostException ex)
           
 
Methods inherited from class org.sourceforge.jxutil.sql.AbstractExceptions
badData, badData, colNotFound, load, needDSorURL, noConversion, noConversion, noCurrentRow, noMap, noRS, oneTabOnly, setClosed, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExceptions

protected DefaultExceptions()
Can't instantiate.

Method Detail

badQuery

public static SQLException badQuery(Exception ex,
                                    Object lst)

connClosed

public static SQLException connClosed()

illegalArgument

public static SQLException illegalArgument(String detail)

invalidURL

public static SQLException invalidURL(String url)

notAllowed

public static SQLException notAllowed()

notQuery

public static SQLException notQuery(String sql)

notSupported

public static SQLException notSupported()

notSupported

public static SQLException notSupported(String detail)

notSupportedDB

public static SQLException notSupportedDB()

notUpdate

public static SQLException notUpdate(String sql)

requiredParam

public static SQLException requiredParam(String param)

requiredPosParam

public static SQLException requiredPosParam(int pos,
                                            Object type)

stmtClosed

public static SQLException stmtClosed()

wrap

public static SQLException wrap(InterruptedException ex)

wrap

public static SQLException wrap(IOException ex)

wrap

public static SQLException wrap(UnknownHostException ex)

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.