(self, *args)
| 99 | class NNTPError(Exception): |
| 100 | """Base class for all nntplib exceptions""" |
| 101 | def __init__(self, *args): |
| 102 | Exception.__init__(self, *args) |
| 103 | try: |
| 104 | self.response = args[0] |
| 105 | except IndexError: |
| 106 | self.response = 'No response given' |
| 107 | |
| 108 | class NNTPReplyError(NNTPError): |
| 109 | """Unexpected [123]xx reply""" |