File: exception.rb

package info (click to toggle)
ruby-bdb 0.6.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,652 kB
  • ctags: 4,687
  • sloc: ansic: 13,663; cpp: 8,601; ruby: 7,903; sh: 47; makefile: 18
file content (21 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# general exception
class BDB::LockError < Exception
end

# Lock not held by locker
#
# inherit from BDB::LockError
class BDB::LockHeld < BDB::LockError
end

# Lock not granted
#
# inherit from BDB::LockError
class BDB::LockGranted < BDB::LockError
end

# Locker killed to resolve a deadlock
#
# inherit from BDB::LockError
class BDB::LockDead < BDB::LockError
end