summaryrefslogtreecommitdiff
path: root/vendor/bandit/bandit/assertion_frameworks/matchers/MatcherException.h
blob: 5d657ed7ca0fe2b6e5fddb57d0880c81a935b87c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef BANDIT_MATCHER_EXCEPTION_H
#define BANDIT_MATCHER_EXCEPTION_H

#include <bandit/assertion_exception.h>

namespace bandit { namespace Matchers {
    class MatcherException : public detail::assertion_exception
    {
    public:
      MatcherException(const std::string& filename, const unsigned linenumber, const std::string& message) : detail::assertion_exception(message, filename, linenumber) {}
      MatcherException(const MatcherException&) = default;
      virtual ~MatcherException() noexcept {}
    };
}}

#endif	// BANDIT_MATCHER_EXCEPTION_H