aboutsummaryrefslogtreecommitdiff
path: root/scripts/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/exceptions.py')
-rw-r--r--scripts/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/exceptions.py b/scripts/exceptions.py
index 5b55294..29aa1dc 100644
--- a/scripts/exceptions.py
+++ b/scripts/exceptions.py
@@ -25,3 +25,9 @@ class ConfigurationError(Exception):
self.message = message;
def __str__(self):
return "Configuration error: " + message
+
+class SolutionGenerated(Exception):
+ def __init__(self):
+ pass
+ def __str__(self):
+ return "Solution already generated."