public class ThrowingStruct extends Thrower implements Struct
Struct decorated to throw SQLException on command.| Constructor and Description |
|---|
ThrowingStruct(Struct s) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getAttributes() |
Object[] |
getAttributes(Map<String,Class<?>> map) |
String |
getSQLTypeName() |
shouldThrow, startThrowing, startThrowingAfter, stopThrowingpublic ThrowingStruct(Struct s)
public Object[] getAttributes() throws SQLException
getAttributes in interface StructSQLExceptionStruct.getAttributes()public Object[] getAttributes(Map<String,Class<?>> map) throws SQLException
getAttributes in interface StructSQLExceptionStruct.getAttributes(java.util.Map)public String getSQLTypeName() throws SQLException
getSQLTypeName in interface StructSQLExceptionStruct.getSQLTypeName()Copyright © 2000–2015 PanEris. All rights reserved.