|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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 FormField Summary | |
private static long |
serialVersionUID
|
Fields inherited from class org.objectweb.cjdbc.common.exceptions.CJDBCException |
cause |
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 |
Field Detail |
private static final long serialVersionUID
Constructor Detail |
public BadConnectionException(java.lang.Throwable cause)
BadConnectionException
instance.
cause
- the root causepublic 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 |