org.melati.poem.dbms.test.sql
Class ThrowingStruct
java.lang.Object
org.melati.poem.dbms.test.sql.Thrower
org.melati.poem.dbms.test.sql.ThrowingStruct
- All Implemented Interfaces:
- java.sql.Struct
public class ThrowingStruct
- extends Thrower
- implements java.sql.Struct
A Stuct decorated to throw SQLException on command.
- Since:
- 5 Feb 2008
- Author:
- timp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThrowingStruct
public ThrowingStruct(java.sql.Struct s)
- Constructor.
getAttributes
public java.lang.Object[] getAttributes()
throws java.sql.SQLException
-
- Specified by:
getAttributes in interface java.sql.Struct
- Throws:
java.sql.SQLException- See Also:
Struct.getAttributes()
getAttributes
public java.lang.Object[] getAttributes(java.util.Map map)
throws java.sql.SQLException
-
- Specified by:
getAttributes in interface java.sql.Struct
- Throws:
java.sql.SQLException- See Also:
Struct.getAttributes(java.util.Map)
getSQLTypeName
public java.lang.String getSQLTypeName()
throws java.sql.SQLException
-
- Specified by:
getSQLTypeName in interface java.sql.Struct
- Throws:
java.sql.SQLException- See Also:
Struct.getSQLTypeName()
Copyright © 2000-2008 PanEris. All Rights Reserved.