class NameIdNotAllowed(Exception):
- def __init__(self):
- message = 'The specified Name ID is not allowed'
+ def __init__(self, nid):
+ message = 'Name ID [%s] is not allowed' % nid
super(NameIdNotAllowed, self).__init__(message)
self.message = message