isClosed()

Syntax:

boolean isClosed()
                 throws SQLException

Description:

Retrieves whether this ResultSet object has been closed. A ResultSet is closed if the method close has been called on it, or if it is automatically closed.

Returns:

true if this ResultSet object is closed; false if it is still open

Throws:

SQLException - if a database access error occurs or this method is called on a closed result set

Reference:

For more information, reference JDBC documentation for: ResultSet.isClosed()