(self, msg, exception=None)
Creates an exception. The message is required, but the exception
        is optional.
Creates an exception. The message is required, but the exception
        is optional.
Creates an exception . The message is required but the exception is optional .
def __init__(self, msg, exception=None):
        """Creates an exception. The message is required, but the exception
        is optional."""
        self._msg = msg
        self._exception = exception
        Exception.__init__(self, msg)
def __init__ ( self , msg , exception = None ) : self . _msg = msg self . _exception = exception Exception . __init__ ( self , msg )