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

java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingRefJdbc3
All Implemented Interfaces:
java.sql.Ref
Direct Known Subclasses:
ThrowingRef

public class ThrowingRefJdbc3
extends Thrower
implements java.sql.Ref

The JDBC3 methods of a Ref, decorated to throw an SQLException on command.

Since:
5 Feb 2008
Author:
timp

Constructor Summary
ThrowingRefJdbc3()
           
 
Method Summary
 java.lang.String getBaseTypeName()
          
 java.lang.Object getObject()
          
 java.lang.Object getObject(java.util.Map map)
          
 void setObject(java.lang.Object value)
          
 
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

ThrowingRefJdbc3

public ThrowingRefJdbc3()
Method Detail

getBaseTypeName

public java.lang.String getBaseTypeName()
                                 throws java.sql.SQLException

Specified by:
getBaseTypeName in interface java.sql.Ref
Throws:
java.sql.SQLException
See Also:
Ref.getBaseTypeName()

getObject

public java.lang.Object getObject()
                           throws java.sql.SQLException

Specified by:
getObject in interface java.sql.Ref
Throws:
java.sql.SQLException
See Also:
Ref.getObject()

getObject

public java.lang.Object getObject(java.util.Map map)
                           throws java.sql.SQLException

Specified by:
getObject in interface java.sql.Ref
Throws:
java.sql.SQLException
See Also:
Ref.getObject(java.util.Map)

setObject

public void setObject(java.lang.Object value)
               throws java.sql.SQLException

Specified by:
setObject in interface java.sql.Ref
Throws:
java.sql.SQLException
See Also:
Ref.setObject(java.lang.Object)


Copyright © 2000-2008 PanEris. All Rights Reserved.