IT. Expert System.

Android Reference

ConnectionEvent


javax.sql

Class ConnectionEvent

  • All Implemented Interfaces:
    Serializable


    public class ConnectionEvent
    extends EventObject
    implements Serializable
    Sent when specific events happen on a 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.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConnectionEvent

        public ConnectionEvent(PooledConnection theConnection)
        Creates a connection event initialized with the supplied PooledConnection reporting that the application has closed the connection.
        Parameters:
        theConnection - the connection for which this event is created.
      • ConnectionEvent

        public ConnectionEvent(PooledConnection theConnection,
                       SQLException theException)
        Creates a ConnectionEvent initialized with the supplied PooledConnection and with the supplied SQLException indicating that an error has occurred within the PooledConnection.
        Parameters:
        theConnection - the connection for which this event is created.
        theException - information about the state of error that has occurred on the application side.
    • Method Detail

      • getSQLException

        public SQLException getSQLException()
        Gets the SQLException which holds information about the error which occurred in the PooledConnection.
        Returns:
        a SQLException containing information about the error. May be null if no error has occurred.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2224 / . Delta: 0.04321 с