changed TableSchema class -- improved exception messages