June 2001
Intermediate to advanced
688 pages
19h 18m
English
import com.sleepycat.db.*; public int get_errno();
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. Because DbException inherits from the java.Exception, the string portion is available using toString().