diff -r 39e4c09e1b60 -r 3620bacf1152 iro/error.py --- a/iro/error.py Fri Mar 02 14:00:23 2012 +0100 +++ b/iro/error.py Sat Mar 03 03:29:19 2012 +0100 @@ -69,7 +69,12 @@ return "Not a valid Typ: %s"%self.name class RejectRecipient(Exception): - pass + def __init__(self,recipient, status=None): + self.recipient = recipient + self.status = status + + def __str__(self): + return "Reject recipient(%s): %s"%(str(self.recipient),str(self.status)) class ConfigException(Exception): def __init__(self,section, name):