mirror of
https://github.com/unittest-cpp/unittest-cpp
synced 2026-09-26 16:19:30 +03:00
Rather than re-using AssertException, it felt more correct to create a new special-purpose exception.
23 lines
402 B
C++
23 lines
402 B
C++
#ifndef UNITTEST_REQUIREDCHECKEXCEPTION_H
|
|
#define UNITTEST_REQUIREDCHECKEXCEPTION_H
|
|
|
|
#include "Config.h"
|
|
#ifndef UNITTEST_NO_EXCEPTIONS
|
|
|
|
#include "HelperMacros.h"
|
|
#include <exception>
|
|
|
|
namespace UnitTest {
|
|
|
|
class UNITTEST_LINKAGE RequiredCheckException : public std::exception
|
|
{
|
|
public:
|
|
RequiredCheckException();
|
|
virtual ~RequiredCheckException() throw();
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|