# Db.fd |

`

###

    import com.sleepycat.db.*;

    public int fd()
        throws DbException;

# Description

The Db.fd method returns a file descriptor representative of the underlying database. This method does not fit well into the Java framework and may be removed in subsequent releases.

The Db.fd method throws an exception that encapsulates a non-zero error value on failure.

# Errors

The Db.fd method may fail and throw an exception for errors specified for other Berkeley DB and C library or system methods. If a catastrophic error has occurred, the Db.fd method may fail and throw a DbRunRecoveryException, in which case all subsequent Berkeley DB calls will fail in the same way.

# Class

Db

# See Also

Databases and Related Methods`

Copyright Sleepycat Software