From 7ef52c68574b54333c44c5be739049deac3a28ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Wed, 10 Oct 2012 18:34:21 -0300 Subject: Data loader --- lib/exceptions.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lib/exceptions.py (limited to 'lib/exceptions.py') diff --git a/lib/exceptions.py b/lib/exceptions.py new file mode 100644 index 0000000..63c7475 --- /dev/null +++ b/lib/exceptions.py @@ -0,0 +1,8 @@ +class CmdNotFoundException(Exception): + pass + +class CommandException(Exception): + def __init__(self, message, print_usage=True): + Exception.__init__(self, message) + self.print_usage = print_usage + -- cgit v1.2.3