4 # Copyright 2009 Develer S.r.l. (http://www.develer.com/)
9 # Author: Lorenzo Berni <duplo@develer.com>
13 class DefineException(Exception):
15 Exception raised when an error occurs parsing the module informations.
17 def __init__(self, path, line_number, line):
19 self.line_number = line_number
23 return repr(self.path)
25 class ModuleDefineException(DefineException):
27 Exception raised when an error occurs parsing the module informations.
29 def __init__(self, path, line_number, line):
30 super(ModuleDefineException, self).__init__(path, line_number, line)
32 class EnumDefineException(DefineException):
34 Exception raised when an error occurs parsing the enum informations.
36 def __init__(self, path, line_number, line):
37 super(EnumDefineException, self).__init__(path, line_number, line)
39 class ConfigurationDefineException(DefineException):
41 Exception raised when an error occurs parsing the configuration parameter informations.
43 def __init__(self, path, line_number, line):
44 super(ConfigurationDefineException, self).__init__(path, line_number, line)