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

Package class diagram package ThrowingStatement
java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingStatementJdbc3
          extended by org.melati.poem.dbms.test.sql.ThrowingStatementJdbc4
              extended by org.melati.poem.dbms.test.sql.ThrowingStatementVariant
                  extended by org.melati.poem.dbms.test.sql.ThrowingStatement
All Implemented Interfaces:
Statement, Wrapper

public class ThrowingStatement
extends ThrowingStatementVariant
implements Statement

A Statement decorated to throw SQLException on command.

Since:
10 Feb 2007
Author:
timp

Field Summary
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Constructor Summary
ThrowingStatement(Statement s)
          Constructor.
 
Method Summary
 
Methods inherited from class org.melati.poem.dbms.test.sql.ThrowingStatementJdbc4
isClosed, isPoolable, isWrapperFor, setPoolable, unwrap
 
Methods inherited from class org.melati.poem.dbms.test.sql.ThrowingStatementJdbc3
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 
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.Statement
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

ThrowingStatement

public ThrowingStatement(Statement s)
Constructor.

Parameters:
s - to decorate


Copyright © 2000-2010 PanEris. All Rights Reserved.