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, value):
18 self.parameter = value
21 return repr(self.parameter)
23 class ModuleDefineException(DefineException):
25 Exception raised when an error occurs parsing the module informations.
27 def __init__(self, value):
28 super(ModuleDefineException, self).__init__(value)
30 class EnumDefineException(DefineException):
32 Exception raised when an error occurs parsing the enum informations.
34 def __init__(self, value):
35 super(EnumDefineException, self).__init__(value)
37 class ConfigurationDefineException(DefineException):
39 Exception raised when an error occurs parsing the configuration parameter informations.
41 def __init__(self, value):
42 super(ConfigurationDefineException, self).__init__(value)