* Closes #372
This commit is contained in:
kevgliss
2016-07-04 14:32:46 -07:00
committed by GitHub
parent c8eca56690
commit 4ee1c21144
5 changed files with 67 additions and 34 deletions

View File

@ -36,6 +36,14 @@ class IntegrityError(LemurException):
return repr(self.message)
class AssociatedObjectNotFound(LemurException):
def __init__(self, message):
self.message = message
def __str__(self):
return repr(self.message)
class InvalidListener(LemurException):
def __str__(self):
return repr("Invalid listener, ensure you select a certificate if you are using a secure protocol")