|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.adapters.jdbc.extensions.novendor.SQLExceptionValidConnectionChecker
public class SQLExceptionValidConnectionChecker

Always throws a SQLException
| Constructor Summary | |
|---|---|
SQLExceptionValidConnectionChecker()
Constructor |
|
| Method Summary | |
|---|---|
String |
getReason()
Get the reason |
String |
getSQLState()
Get the SQL state |
Integer |
getVendorCode()
Get the vendor code |
SQLException |
isValidConnection(Connection c)
Checks the connection is valid |
void |
setReason(String v)
Set the reason |
void |
setSQLState(String v)
Set the SQL state |
void |
setVendorCode(Integer v)
Set the vendor code |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLExceptionValidConnectionChecker()
| Method Detail |
|---|
public String getReason()
public void setReason(String v)
v - The valuepublic String getSQLState()
public void setSQLState(String v)
v - The valuepublic Integer getVendorCode()
public void setVendorCode(Integer v)
v - The valuepublic SQLException isValidConnection(Connection c)
isValidConnection in interface ValidConnectionCheckerc - the connection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||