| 10609 | } |
| 10610 | |
| 10611 | std::string ExceptionTranslatorRegistry::tryTranslators() const { |
| 10612 | if (m_translators.empty()) { |
| 10613 | std::rethrow_exception(std::current_exception()); |
| 10614 | } else { |
| 10615 | return m_translators[0]->translate(m_translators.begin() + 1, m_translators.end()); |
| 10616 | } |
| 10617 | } |
| 10618 | |
| 10619 | #else // ^^ Exceptions are enabled // Exceptions are disabled vv |
| 10620 | std::string ExceptionTranslatorRegistry::translateActiveException() const { |