1   
 2   
 3   
 4   
 5   
 6   
 7   
 8   
 9   
10   
11   
12   
13   
14   
16      """Basic SrRietveld exception class.""" 
18          """initialize 
19   
20          info -- description string 
21          """ 
22          Exception.__init__(self) 
23          self.info = info 
24          self.type = errType 
25          return 
 26   
 29   
31      """ SrRietveld config exception.""" 
33          """initialize 
34   
35          info -- description string 
36          """ 
37           
38          SrrError.__init__(self, info, self.__class__.__name__) 
39          return 
  41      '''SrRietveld file exception''' 
43          """initialize 
44   
45          info -- description string 
46          """ 
47          SrrError.__init__(self, info, self.__class__.__name__) 
48          return 
  50      '''SrRietveld input / output exception''' 
52          """initialize 
53   
54          info -- description string 
55          """ 
56          SrrError.__init__(self, info, self.__class__.__name__) 
57          return 
  58       
60      '''SrRietveld run time exception''' 
62          """initialize 
63   
64          info -- description string 
65          """ 
66          SrrError.__init__(self, info, self.__class__.__name__) 
67          return 
  69      '''SrRietveld value exception''' 
71          """initialize 
72   
73          info -- description string 
74          """ 
75          SrrError.__init__(self, info, self.__class__.__name__) 
76          return 
  86   
87  __id__ = "$Id: exceptions.py 6300 2011-03-10 21:34:27Z yshang $" 
88   
89   
90