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

Package class diagram package ThrowingSavepoint
java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingSavepoint
All Implemented Interfaces:
Savepoint

public class ThrowingSavepoint
extends Thrower
implements Savepoint

A SavePoint decorated to throw an on command.

Since:
10 Feb 2007
Author:
timp

Constructor Summary
ThrowingSavepoint(Savepoint savepoint)
          Constructor.
 
Method Summary
 int getSavepointId()
          
 String getSavepointName()
          
 
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
 

Constructor Detail

ThrowingSavepoint

public ThrowingSavepoint(Savepoint savepoint)
Constructor.

Parameters:
savepoint - to decorate
Method Detail

getSavepointId

public int getSavepointId()
                   throws SQLException

Specified by:
getSavepointId in interface Savepoint
Throws:
SQLException
See Also:
Savepoint.getSavepointId()

getSavepointName

public String getSavepointName()
                        throws SQLException

Specified by:
getSavepointName in interface Savepoint
Throws:
SQLException
See Also:
Savepoint.getSavepointName()


Copyright © 2000-2010 PanEris. All Rights Reserved.