| branch | devel |
| changeset 213 | 3620bacf1152 |
| parent 189 | ae2767918faa |
| child 225 | 70dafbaf21af |
--- 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):