RaftLib  0.3a
C++ Stream Processing Template Library
portexception.hpp
1 
20 #ifndef _PORTEXCEPTION_HPP_
21 #define _PORTEXCEPTION_HPP_ 1
22 #include <exception>
23 #include <string>
24 class PortException : public std::exception
25 {
26 public:
27  PortException( const std::string message );
28  virtual const char* what() const noexcept;
29 private:
30  std::string message;
31 };
32 
34 {
35 public:
36  PortTypeException( const std::string message );
37 };
38 
40 {
41 public:
42  PortNotFoundException( const std::string message );
43 };
44 
46 {
47 public:
48  PortDoubleInitializeException( const std::string message );
49 };
50 
52 {
53 public:
54  PortTypeMismatchException( const std::string message );
55 };
56 
58 {
59 public:
60  AmbiguousPortAssignmentException( const std::string message );
61 };
62 
64 {
65 public:
66  ClosedPortAccessException( const std::string message );
67 };
68 
70 {
71 public:
72  NoMoreDataException( const std::string message );
73 };
75 {
76 public:
77  PortAlreadyExists( const std::string message );
78 };
79 #endif /* END _PORTEXCEPTION_HPP_ */
Definition: portexception.hpp:24
Definition: portexception.hpp:33
Definition: portexception.hpp:39
Definition: portexception.hpp:51
Definition: portexception.hpp:63
Definition: portexception.hpp:45
PortException(const std::string message)
Definition: portexception.cpp:22
Definition: portexception.hpp:57
Definition: portexception.hpp:74
Definition: portexception.hpp:69