| 8417 | } |
| 8418 | |
| 8419 | std::string ExceptionTranslatorRegistry::tryTranslators() const { |
| 8420 | if (m_translators.empty()) { |
| 8421 | std::rethrow_exception(std::current_exception()); |
| 8422 | } else { |
| 8423 | return m_translators[0]->translate(m_translators.begin() + 1, m_translators.end()); |
| 8424 | } |
| 8425 | } |
| 8426 | |
| 8427 | #else // ^^ Exceptions are enabled // Exceptions are disabled vv |
| 8428 | std::string ExceptionTranslatorRegistry::translateActiveException() const { |