'Creates an exception. The message is required, but the exception
is optional.'

def __init__(self, msg, exception=None):

    self._msg = msg
    self._exception = exception
    Exception.__init__(self, msg)
