throwing exceptions when trying to access tables or columns that do not exist