throw an exception if a bad ontology term is encountered. this is a fatal error. Refs #830