|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.jcreme.sql.ConnectionLostException
This class enables to precise the nature of an SQLException. When a loss of connection is detected, this class enables to report it and eventually handle it.
| Field Summary |
| Fields inherited from class java.lang.Exception |
|
| Constructor Summary | |
ConnectionLostException(java.lang.String msg)
Constructs an instance of ConnectionLostException with the specified detail message. |
|
ConnectionLostException(java.lang.String reason,
java.lang.String sqlState,
int vendorCode)
Creates a new ConnectionLostException. |
|
| Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, setNextException |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConnectionLostException(java.lang.String reason,
java.lang.String sqlState,
int vendorCode)
reason - a description of the exception.sqlState - an XOPEN or SQL 99 code identifying the exceptionvendorCode - a database vendor-specific exception codepublic ConnectionLostException(java.lang.String msg)
msg - the detail message.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||