* @param type the type of the action, CONNECT or DISCONNECT
* @param ex an optional exception that happened (indicates failure!)
*/
protected void notifyConnectionListeners(int type, Exception ex) {
Iterator iter;
ConnectionListener l;
iter = m_ConnectionListeners.iterator();
while (iter.hasNext()) {
l = (ConnectionListener) iter.next();
l.connectionChange(
new ConnectionEvent(this, type, m_DbUtils, ex));
}
}