Searched refs:DBError (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Lib/bsddb/test/ |
D | test_early_close.py | 48 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)
|
D | test_misc.py | 23 self.assertRaises(db.DBError, dbs.get, "foo") 118 self.assertTrue(issubclass(db.DBError, Exception)) 121 self.assertTrue(issubclass(j, db.DBError), msg=i)
|
D | test_pickle.py | 43 except db.DBError, egg:
|
D | test_compat.py | 146 except db.DBError:
|
D | test_recno.py | 76 except db.DBError, val:
|
D | test_basics.py | 478 except db.DBError, val: 818 except db.DBError, e: 827 except db.DBError, e:
|
D | test_associate.py | 108 except db.DBError:
|
D | test_thread.py | 464 except db.DBError:
|
/external/python/cpython2/Lib/bsddb/ |
D | dbtables.py | 348 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:
|
D | dbshelve.py | 107 … 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__.py | 79 error = db.DBError # So bsddb.error will mean something... 242 except db.DBError:
|
/external/python/cpython2/Modules/ |
D | _bsddb.c | 157 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/ |
D | HISTORY | 910 - Fixed bsddb.db.DBError derived exceptions so they can be unpickled.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 18294 - Fixed bsddb.db.DBError derived exceptions so they can be unpickled.
|