'Show a simple message to the user
:param title: The title (very short description)
:param msg: The message to show the user
:param level: Must be one of \'info\', \'warn\' or \'error\'
:param det_msg: Optional detailed message to show the user'

def __init__(self, title, msg, level=u'info', det_msg=u''):

    import json
    Exception.__init__(self, json.dumps({u'msg': msg, u'level': level, u'det_msg': det_msg, u'title': title}))
    (self.title, self.msg, self.det_msg) = (title, msg, det_msg)
    self.level = level
