<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def raise_if(self, exception, message, *args, **kwargs):
 """ If current exception has smaller priority than minimum, subclass of this class only warns user, otherwise normal exception will be raised. """

        if issubclass(exception, self.minimum_defect):
            raise exception(*args, **kwargs)
        warn(message, SyntaxWarning, *args, **kwargs)