summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Error.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Error.py b/src/Error.py
index 61177da99..593dfb9b2 100644
--- a/src/Error.py
+++ b/src/Error.py
@@ -15,3 +15,10 @@ class GeneratorError(Exception):
class PublishError(Exception):
pass
+class CfgFileException(Exception):
+ def __init__(self,op,filename):
+ self.operation=op
+ self.filename=filename
+
+ def __str__(self):
+ return "%s : %s"%(`self.operation`, `self.filename`)