@classmethod
def check_if_exception_class_exists(cls):
    """ Check if exception class not empty """
    class_dict = cls.__dict__
    if not class_dict.get(cls.default_exception_class, None):
        raise AttributeError(
            'Exception class not defined, please set exception attribute')
    return True
