public interface ExceptionListener
The primary use case of this interface is to bridge the gap between the JCA managed connection or connection
pools that need to detect fatal errors. In the implementation only the methods defined in the various Fb*
interfaces in org.firebirdsql.gds.ng
are required to notify the listeners.
Listeners registered on a FbDatabase
or FbService
will
also be notified of errors occurring in subordinate objects (eg statements).
It is possible that a single exception is notified multiple times. Listeners should be prepared to handle this appropriately.
Modifier and Type | Method and Description |
---|---|
void |
errorOccurred(java.lang.Object source,
java.sql.SQLException ex)
Notify about a SQLException
|
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.