def raise_null_argument(func):
def wrapper(*args, **kwargs):<EOL><INDENT>try:<EOL><INDENT>return func(*args, **kwargs)<EOL><DEDENT>except TypeError as ex:<EOL><INDENT>if any(statement in ex.args[<NUM_LIT:0>] for statement in ['<STR_LIT>',<EOL>'<STR_LIT>']):<EOL><INDENT>raise NullArgument('<STR_LIT>' + str(ex.args[<NUM_LIT:0>]))<EOL><DEDENT>else:<EOL><INDENT>raise<EOL><DEDENT><DEDENT><DEDENT>return wrapper<EOL>
decorator, to intercept num argument TypeError and raise as NullArgument