BadInputException.h 501 Bytes
Newer Older
Yaroslav Gevorkov's avatar
Yaroslav Gevorkov committed
1
2
3
4
5
6
7
8
9
10
/*
 * BadInput.hpp
 *
 *  Created on: 03.09.2016
 *      Author: Ruhullah
 */

#ifndef BADINPUTEXCEPTION_H_
#define BADINPUTEXCEPTION_H_

11
#include <pinkIndexer/CustomException.h>
Yaroslav Gevorkov's avatar
Yaroslav Gevorkov committed
12

13
14
namespace pinkIndexer
{
Yaroslav Gevorkov's avatar
Yaroslav Gevorkov committed
15

16
    class BadInputException : public CustomException
Yaroslav Gevorkov's avatar
Yaroslav Gevorkov committed
17
    {
18
19
20
21
22
23
24
25
26
      public:
        BadInputException(const std::string& msg)
            : CustomException(msg)
        {
        }

        virtual ~BadInputException() throw() {}
    };
} // namespace pinkIndexer
Yaroslav Gevorkov's avatar
Yaroslav Gevorkov committed
27
28

#endif /* BADINPUTEXCEPTION_H_ */