1 /*2 * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).3 * Initial Developer: H2 Group4 */5 package org.h2.jdbcx;6 7 import java.sql.SQLException ;8 9 import org.h2.jdbc.JdbcConnection;10 11 public interface JdbcConnectionListener {12 13 // TODO pooled connection: make sure fatalErrorOccured is called in the right situations14 void fatalErrorOccured(JdbcConnection conn, SQLException e) throws SQLException ;15 16 void closed(JdbcConnection conn);17 }18