DbException



       import com.sleepycat.db.*;

       public class DbException extends Exception;

       public DbException(String s);
       public DbException(String s, int errno);

       public int get_errno();


DESCRIPTION

       The  DB  library  is  a  family of classes that provides a
       modular programming interface to transactions and  record-
       oriented  file  access.   The library includes support for
       transactions, locking, logging and file page  caching,  as
       well  as  various  indexed  access  methods.   Many of the
       classes (e.g., the file page  caching  class)  are  useful
       independent of the other DB classes, although some classes
       are explicitly based on other classes (e.g.,  transactions
       and  logging).   For  a  general  description  of  the  DB
       package, see db_intro(3).

       This manual page describes the DbException class  and  how
       it is used by the various Db* classes.

       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().

       Some methods may return non-zero values without issuing an
       exception.    This  occurs  in  situations  that  are  not
       normally considered an error, but when some  informational
       status   is   returned.    For   example,  Db.get  returns
       DB_KEYNOTFOUND when a requested key does not appear in the
       database.


SEE ALSO

       db_archive(1), db_checkpoint(1), db_deadlock(1), db_dump(1),
       db_load(1), db_recover(1), db_stat(1), db_intro(3),
       db_internal(3), db_thread(3), Db(3), Dbc(3), DbEnv(3),
       DbException(3), DbInfo(3), DbLock(3), DbLockTab(3), DbLog(3),
       DbLsn(3), DbMpool(3), Dbt(3), DbTxn(3), DbTxnMgr(3)


Man(1) output converted with man2html