class GoogleTestFailureException

Defined at line 158 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h

This exception is thrown by (and only by) a failed Google Test

assertion when GTEST_FLAG(throw_on_failure) is true (if exceptions

are enabled). We derive it from std::runtime_error, which is for

errors presumably detectable only at run time. Since

std::runtime_error inherits from std::exception, many testing

frameworks know how to extract and print the message inside it.

Public Methods

void GoogleTestFailureException (const TestPartResult & failure)