_NAMES_DESIRED_SERVER_CAPS = ('sasl',)
 
 
-class SendFail(BaseException):
+class SendFail(Exception):
     'When Client.send fails.'
 
 
-class TargetUserOffline(BaseException):
+class TargetUserOffline(Exception):
     'When according to server our target user is not to be found.'
 
 
-class ImplementationFail(BaseException):
+class ImplementationFail(Exception):
     'When no matching parser found for server message.'
 
 
 
 
 
 if __name__ == '__main__':
-    class _HandledException(BaseException):
+    class _HandledException(Exception):
         'To fail with only passed message rather than stack listing'
 
     try: