Added a different exception if the ClassMetaDataRetrieverCriteria object contains a containerName in order to retrieve a classMetaData object.