hops
Exceptions.hpp
Go to the documentation of this file.
1 #ifndef HOPS_EXCEPTIONS_HPP
2 #define HOPS_EXCEPTIONS_HPP
3 
4 #include <exception>
5 #include <string>
6 
7 namespace hops {
8  class Exception {
9  public:
10  Exception(std::string message = "") :
11  message(message) {
12  }
13 
15  return message;
16  }
17  private:
18  std::string message;
19  };
20 
23  Exception(message) {
24  }
25  };
26 
29  Exception(message) {
30  }
31  };
32 
35  Exception(message) {
36  }
37  };
38 
41  Exception(message) {
42  }
43  };
44 }
45 
46 #endif // HOPS_EXCEPTIONS_HPP
hops::EmptyChainDataException
Definition: Exceptions.hpp:21
hops::Exception
Definition: Exceptions.hpp:8
hops::MissingStartingPointsException
Definition: Exceptions.hpp:33
hops::NoProblemProvidedException::NoProblemProvidedException
NoProblemProvidedException(std::string message="")
Definition: Exceptions.hpp:28
hops::EmptyChainDataException::EmptyChainDataException
EmptyChainDataException(std::string message="")
Definition: Exceptions.hpp:22
hops::UninitializedDataFieldException
Definition: Exceptions.hpp:39
hops::MissingStartingPointsException::MissingStartingPointsException
MissingStartingPointsException(std::string message="")
Definition: Exceptions.hpp:34
hops::Exception::Exception
Exception(std::string message="")
Definition: Exceptions.hpp:10
hops::NoProblemProvidedException
Definition: Exceptions.hpp:27
hops
Definition: CsvReader.hpp:8
hops::Exception::what
std::string what()
Definition: Exceptions.hpp:14
string
NAME string(REPLACE ".cpp" "_bin" example_name ${example_filename}) if($
Definition: hops/Third-party/HighFive/src/examples/CMakeLists.txt:6
hops::UninitializedDataFieldException::UninitializedDataFieldException
UninitializedDataFieldException(std::string message="")
Definition: Exceptions.hpp:40