aboutsummaryrefslogtreecommitdiff
path: root/scripts/exceptions.py
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-06 21:18:38 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-06 21:18:38 +0200
commit86eb35073eaf733db725647eb7429da22d4d365a (patch)
tree5dff5d8e040624b546d78f545469027ab5198ae5 /scripts/exceptions.py
parentff8c714ac90ba532030a5889ab9529c31a966238 (diff)
downloadlinux-conf-perf-86eb35073eaf733db725647eb7429da22d4d365a.tar.gz
linux-conf-perf-86eb35073eaf733db725647eb7429da22d4d365a.tar.bz2
linux-conf-perf-86eb35073eaf733db725647eb7429da22d4d365a.zip
Add generation of all solutions in initialization phase
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."