Logo Search packages:      
Sourcecode: mysql-connector-java version File versions

String com::mysql::jdbc::jdbc2::optional::ConnectionWrapper::getCatalog (  )  throws SQLException [inline]

Passes call to method on physical connection instance. Notifies listeners of any caught exceptions before re-throwing to client.

Returns:
the current catalog
Exceptions:
SQLException if an error occurs

Definition at line 136 of file ConnectionWrapper.java.

References com::mysql::jdbc::jdbc2::optional::WrapperBase::checkAndFireConnectionError().

                                                   {
        checkClosed();

        try {
            return this.mc.getCatalog();
        } catch (SQLException sqlException) {
            checkAndFireConnectionError(sqlException);
        }

        return null; // we don't reach this code, compiler can't tell
    }


Generated by  Doxygen 1.6.0   Back to index