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

java.sql.SQLWarning com::mysql::jdbc::jdbc2::optional::ConnectionWrapper::getWarnings (  )  throws SQLException [inline]

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

See also:
java.sql.Connection::getWarnings

Definition at line 354 of file ConnectionWrapper.java.

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

                                                                 {
        checkClosed();

        try {
            return this.mc.getWarnings();
        } 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