Removed unnecessary code on CannotRetrieveClassMetaDataException exception