| |
|
| java.lang.Object java.util.EventObject javax.sql.ConnectionEvent
ConnectionEvent | public class ConnectionEvent extends EventObject (Code) | | The ConnectionEvent class provides information about the source of a connection related event.
ConnectionEvent objects provide the following information:
- the pooled connection that generated the event
- the SQLException about to be thrown to the application ( in the case of an error event)
|
ConnectionEvent | public ConnectionEvent(PooledConnection pooledConnection)(Code) | | Construct a ConnectionEvent object. SQLException defaults to null.
Parameters: pooledConnection - - the pooled connection that is the source of the event |
ConnectionEvent | public ConnectionEvent(PooledConnection pooledConnection, SQLException e)(Code) | | Construct a ConnectionEvent object.
Parameters: pooledConnection - - the pooled connection that is the source of the event Parameters: e - - the SQLException about to be thrown to the application |
getSQLException | public SQLException getSQLException()(Code) | | Gets the SQLException about to be thrown. May be null.
The SQLException about to be thrown |
|
|
|