|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.objectweb.cjdbc.common.exceptions.CJDBCException
org.objectweb.cjdbc.common.exceptions.BadConnectionException
A BadConnectionException is thrown when a connection fails the
validity test.
DatabaseBackend.isValidConnection(java.sql.Connection),
Serialized Form| Field Summary |
| Fields inherited from class org.objectweb.cjdbc.common.exceptions.CJDBCException |
cause |
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
BadConnectionException(java.lang.String message,
java.lang.Throwable cause)
Creates a new BadConnectionException instance. |
|
BadConnectionException(java.lang.Throwable cause)
Creates a new BadConnectionException instance. |
|
| Methods inherited from class org.objectweb.cjdbc.common.exceptions.CJDBCException |
fillInStackTrace, getCause, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Throwable |
getLocalizedMessage, initCause, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BadConnectionException(java.lang.Throwable cause)
BadConnectionException instance.
cause - the root cause
public BadConnectionException(java.lang.String message,
java.lang.Throwable cause)
BadConnectionException instance.
message - the error messagecause - the root cause
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||