def _validateParamsFor_validateNum(min=None, max=None, lessThan=None, greaterThan=None):
if (min is not None) and (greaterThan is not None):<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT>if (max is not None) and (lessThan is not None):<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT>if (min is not None) and (max is not None) and (min > max):<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT>if (min is not None) and (lessThan is not None) and (min >= lessThan):<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT>if (max is not None) and (greaterThan is not None) and (max <= greaterThan):<EOL><INDENT>raise PySimpleValidateException('<STR_LIT>')<EOL><DEDENT>for name, val in (('<STR_LIT>', min), ('<STR_LIT>', max),<EOL>('<STR_LIT>', lessThan), ('<STR_LIT>', greaterThan)):<EOL><INDENT>if not isinstance(val, (int, float, type(None))):<EOL><INDENT>raise PySimpleValidateException(name + '<STR_LIT>')<EOL><DEDENT><DEDENT>
Raises an exception if the arguments are invalid. This is called by
    the validateNum(), validateInt(), and validateFloat() functions to
    check its arguments. This code was refactored out to a separate function
    so that the PyInputPlus module (or other modules) could check their
    parameters' arguments for inputNum() etc.