public ConnectionEvent (PooledConnection con, SQLException ex)

Constructs a ConnectionEvent object initialized with the given PooledConnection object and SQLException object.

Parameters:
con    the pooled connection that is the source of the event
ex    the SQLException about to be thrown to the application

Exceptions:
IllegalArgumentException    if con is null.