public class ConnectionEvent extends EventObject implements Serializable
Sent when specific events happen on a {@link PooledConnection} object. These
events are a facility to report when an application closes the pooled
connection or when an error occurs in the pooled connection.
Creates a {@code ConnectionEvent} initialized with the supplied {@code
PooledConnection} and with the supplied {@code SQLException} indicating
that an error has occurred within the {@code PooledConnection}.
param
theConnection
the connection for which this event is created.
param
theException
information about the state of error that has occurred on the
application side.