Re: [DBCP] request for improved Exception nesting in ConnectionPool

2005-01-27 Thread Dirk Verbeeck
Good suggestion. The underlying exception was already visible in the stacktrace but the message can be improved. How about using the following catch block in the connect method. } catch(SQLException e) { throw e; } catch(NoSuchElementException e) { throw new SQLNestedException("Cannot get

[DBCP] request for improved Exception nesting in ConnectionPool

2005-01-26 Thread Meikel Bisping
Hi, I tried to establish a ConnectionPool with DBCP to an Informix Database using your examples. I always got the exeception "pool exhausted" when trying to open the first connection. I eventually found out during debugging that the problem was an older Informix driver (that is generally still in