head 1.4; access; symbols RPM_4_1:1.1.1.2 RPM_4_0_4:1.1.1.2 RPM_4_0_3:1.1.1.1 RPM:1.1.1; locks; strict; comment @# @; 1.4 date 2003.08.24.12.43.13; author rse; state dead; branches; next 1.3; 1.3 date 2003.08.24.12.33.49; author rse; state Exp; branches; next 1.2; 1.2 date 2003.08.24.12.25.46; author rse; state dead; branches; next 1.1; 1.1 date 2001.07.23.20.45.37; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.07.23.20.45.37; author rse; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2002.01.08.00.30.10; author rse; state Exp; branches; next ; desc @@ 1.4 log @Resolve: RPM 4.1 -> RPM 4.1.1 @ text @ Berkeley DB: DbException.get_errno

DbException.get_errno

APIRef

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.

APIRef

Copyright Sleepycat Software @ 1.3 log @Resolve: RPM 4.0.5 -> RPM 4.1 @ text @@ 1.2 log @Resolve: RPM 4.0.4 -> RPM 4.0.5 @ text @d1 1 a1 1 d17 1 a17 1 APIRef d42 1 a42 1 APIRef @ 1.1 log @Initial revision @ text @d1 1 a1 1 @ 1.1.1.1 log @Import: RPM 4.0.3 @ text @@ 1.1.1.2 log @Import: RPM 4.0.4 @ text @d1 1 a1 1 d17 1 a17 1 APIRef d42 1 a42 1 APIRef @