Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

#!/usr/bin/env python 

# -*- coding: utf-8 -*- 

# 

# This file is part of rdlm-py released under the MIT license. 

# See the LICENSE file for more information. 

 

 

class RDLMException(Exception): 

    ''' 

    Abstract class to represent a generic RDLM exception 

    ''' 

    pass 

 

 

class RDLMLockWaitExceededException(RDLMException): 

    ''' 

    Exception: the lock is not acquired after wait timeout 

    ''' 

    pass 

 

 

class RDLMLockDeletedException(RDLMException): 

    ''' 

    Exception: the lock has been deleted by an delete request 

    ''' 

    pass 

 

 

class RDLMServerException(RDLMException): 

    ''' 

    Unknown exception from the RDLM server 

    ''' 

    pass 

 

 

class RDLMClientException(RDLMException): 

    ''' 

    Unknown exception from the client 

    ''' 

    pass