# DbException.get_errno |

`

###

    import com.sleepycat.db.*;

    public int get_errno();

# Description

Most methods in the Db classes throw an exception when an error occurs. A DbException object contains an informational string and an errno. The errno can be obtained using DbException.get_errno. Since DbException inherits from the java.Exception, the string portion is available using toString().

### Class

DbException

# See Also

DbException.get_errno, DbDeadlockException, DbMemoryException and DbRunRecoveryException.`

Copyright Sleepycat Software