Class ExceptionTranslatorRegistry

Synopsis

#include <include/internal/catch_exception_translator_registry.h>

class ExceptionTranslatorRegistry : public IExceptionTranslatorRegistry

Description

No description yet.

Inheritance

Ancestors: IExceptionTranslatorRegistry

Methods

~ExceptionTranslatorRegistry
registerTranslator
translateActiveException
tryTranslators

Source

Lines 18-27 in include/internal/catch_exception_translator_registry.h.

class ExceptionTranslatorRegistry : public IExceptionTranslatorRegistry {
public:
    ~ExceptionTranslatorRegistry();
    virtual void registerTranslator( const IExceptionTranslator* translator );
    std::string translateActiveException() const override;
    std::string tryTranslators() const;
private:
    std::vector<std::unique_ptr<IExceptionTranslator const>> m_translators;
};





Add Discussion as Guest

Log in