'Initialize the exception and pass the message to the log system.'

def __init__(self, *args, **kwargs):

    self._logger.critical('%s    exception    raised;    args:    %s;    kwds:    %s', self.__class__.__name__, args, kwargs, exc_info=True)
    Exception.__init__(self, *args, **kwargs)
