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:
- Struct
public class ThrowingStruct
- extends Thrower
- implements 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(Struct s)
- Constructor.
getAttributes
public Object[] getAttributes()
throws SQLException
-
- Specified by:
getAttributes
in interface Struct
- Throws:
SQLException
- See Also:
Struct.getAttributes()
getAttributes
public Object[] getAttributes(Map<String,Class<?>> map)
throws SQLException
-
- Specified by:
getAttributes
in interface Struct
- Throws:
SQLException
- See Also:
Struct.getAttributes(java.util.Map)
getSQLTypeName
public String getSQLTypeName()
throws SQLException
-
- Specified by:
getSQLTypeName
in interface Struct
- Throws:
SQLException
- See Also:
Struct.getSQLTypeName()
Copyright © 2000-2010 PanEris. All Rights Reserved.