def METHOD_NAME(self, v, arg2):
    if v == "bad-argument":
        raise SimpleError.BadArgument()
    elif v == "unexpected-error":
        raise ValueError("unexpected value")
    if arg2:
        return "1234567890123"
    else:
        return v