def validate_table_name(name):
try:<EOL><INDENT>validate_sqlite_table_name(name)<EOL><DEDENT>except (InvalidCharError, InvalidReservedNameError) as e:<EOL><INDENT>raise NameValidationError(e)<EOL><DEDENT>except NullNameError:<EOL><INDENT>raise NameValidationError("<STR_LIT>")<EOL><DEDENT>except ValidReservedNameError:<EOL><INDENT>pass<EOL><DEDENT>
:param str name: Table name to validate.
:raises NameValidationError: |raises_validate_table_name|