org.melati.poem.dbms.test.sql
Class ThrowingConnection

Package class diagram package ThrowingConnection
java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingConnectionJdbc3
          extended by org.melati.poem.dbms.test.sql.ThrowingConnectionJdbc4
              extended by org.melati.poem.dbms.test.sql.ThrowingConnectionVariant
                  extended by org.melati.poem.dbms.test.sql.ThrowingConnection
All Implemented Interfaces:
Connection, Wrapper

public class ThrowingConnection
extends ThrowingConnectionVariant
implements Connection

A Connection decorated to throw an SQLException on command.

Since:
10 Feb 2007
Author:
timp

Field Summary
 
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
Constructor Summary
ThrowingConnection(Connection c)
           
 
Method Summary
 
Methods inherited from class org.melati.poem.dbms.test.sql.ThrowingConnectionJdbc4
createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStruct, getClientInfo, getClientInfo, isValid, isWrapperFor, setClientInfo, setClientInfo, unwrap
 
Methods inherited from class org.melati.poem.dbms.test.sql.ThrowingConnectionJdbc3
clearWarnings, close, commit, createStatement, createStatement, createStatement, getAutoCommit, getCatalog, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap
 
Methods inherited from class org.melati.poem.dbms.test.sql.Thrower
shouldThrow, startThrowing, startThrowingAfter, stopThrowing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.Connection
clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

ThrowingConnection

public ThrowingConnection(Connection c)
Parameters:
c - a connection.


Copyright © 2000-2010 PanEris. All Rights Reserved.