1

我在我的项目中集成了领域。我正在开发 swift 2.3,当我尝试运行我的项目时,我在下面的文件中遇到未捕获的异常并提到函数并抛出 LogicError。

group_shared.hpp 文件

template <class O>
inline void SharedGroup::advance_read(O* observer, VersionID version_id)
{
  if (m_transact_stage != transact_Reading)
    throw LogicError(LogicError::wrong_transact_state);

  // It is an error if the new version precedes the currently bound one.
  if (version_id.version < m_read_lock.m_version)
    throw LogicError(LogicError::bad_version);

  _impl::History* hist = get_history(); // Throws
  if (!hist)
    throw LogicError(LogicError::no_history);

 do_advance_read(observer, version_id, *hist); // Throws
}
4

0 回答 0