Home
last modified time | relevance | path

Searched refs:DBError (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Lib/bsddb/test/
Dtest_early_close.py48 self.assertRaises(db.DBError, d.get, "test")
68 self.assertRaises(db.DBError,c.next)
77 self.assertRaises(db.DBError, c.next)
94 self.assertRaises(db.DBError, c.next)
121 self.assertRaises(db.DBError, dbs[9].get, "test")
124 self.assertRaises(db.DBError, cursors[101].first)
130 self.assertRaises(db.DBError, cursors[80].next)
Dtest_misc.py23 self.assertRaises(db.DBError, dbs.get, "foo")
118 self.assertTrue(issubclass(db.DBError, Exception))
121 self.assertTrue(issubclass(j, db.DBError), msg=i)
Dtest_pickle.py43 except db.DBError, egg:
Dtest_compat.py146 except db.DBError:
Dtest_basics.py478 except db.DBError, val:
818 except db.DBError, e:
827 except db.DBError, e:
Dtest_recno.py76 except db.DBError, val:
Dtest_associate.py108 except db.DBError:
Dtest_thread.py464 except db.DBError:
/external/python/cpython2/Lib/bsddb/
Ddbtables.py348 except db.DBError, dberror:
432 except db.DBError, dberror:
509 except db.DBError, dberror:
572 except db.DBError, dberror:
612 except db.DBError, dberror:
616 except db.DBError, dberror:
639 except db.DBError, dberror:
750 except db.DBError, dberror:
770 except db.DBError, dberror:
840 except db.DBError, dberror:
Ddbshelve.py107 … raise db.DBError, "flags should be one of 'r', 'w', 'c' or 'n' or use the bsddb.db.DB_* flags"
115 class DBShelveError(db.DBError): pass
D__init__.py79 error = db.DBError # So bsddb.error will mean something...
242 except db.DBError:
/external/autotest/scheduler/
Dscheduler_models_unittest.py103 host = self.assertRaises(scheduler_models.DBError, scheduler_models.Host, id=3,
105 host = self.assertRaises(scheduler_models.DBError, scheduler_models.Host, id=3,
Dscheduler_models.py114 class DBError(Exception): class
188 raise DBError("row not found (table=%s, row id=%s)"
/external/python/cpython2/Modules/
D_bsddb.c157 static PyObject* DBError; /* Base class, all others derive from this */ variable
340 _CHECK_OBJECT_NOT_CLOSED(dbobj->db, DBError, DB)
343 _CHECK_OBJECT_NOT_CLOSED(env->db_env, DBError, DBEnv)
352 _CHECK_OBJECT_NOT_CLOSED(curs->sequence, DBError, DBSequence)
356 _CHECK_OBJECT_NOT_CLOSED(db_site->site, DBError, DBSite)
703 default: errObj = DBError; break; in makeDBError()
2387 PyErr_SetObject(DBError, t); in DB_open()
3569 PyErr_SetObject(DBError, t); in DB_length()
3637 PyErr_SetObject(DBError, t); in DB_ass_sub()
8156 PyErr_SetObject(DBError, t); in DBTxn_commit()
[all …]
/external/python/cpython2/Misc/
DHISTORY910 - Fixed bsddb.db.DBError derived exceptions so they can be unpickled.
/external/python/cpython3/Misc/
DHISTORY18294 - Fixed bsddb.db.DBError derived exceptions so they can be unpickled.