add InvalidArgumentException, fixes #15

This commit is contained in:
Martin Baeuml
2011-06-08 12:41:58 +02:00
parent 45ab7e0c06
commit c08ae1c532
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -9,3 +9,7 @@ class ImproperlyConfigured(Exception):
class NotImplementedException(Exception):
"""This function/method/class has not been implemented yet."""
pass
class InvalidArgumentException(Exception):
"""The argument is invalid."""
pass
+1
View File
@@ -3,6 +3,7 @@ from PyQt4.QtGui import *
from PyQt4.QtCore import *
from sloth.items import *
from sloth.annotations.model import TypeRole, ImageRole
from sloth.core.exceptions import InvalidArgumentException
import math
import okapy
from okapy.guiqt.utilities import toQImage