36 #if defined (FLEXIPORT_STATIC) 37 #define FLEXIPORT_EXPORT 38 #elif defined (flexiport_EXPORTS) 39 #define FLEXIPORT_EXPORT __declspec (dllexport) 41 #define FLEXIPORT_EXPORT __declspec (dllimport) 44 #define FLEXIPORT_EXPORT 59 : _errorStr (errorStr) {};
61 : _errorStr (errorStr) {};
64 virtual const char*
what ()
const throw ()
66 return _errorStr.c_str ();
70 std::string _errorStr;
112 #endif // __FLEXIPORT_H Exception thrown by the Port class and its derivatives.
FLEXIPORT_EXPORT Port * CreatePort(std::map< std::string, std::string > options)
Function to create a Port object of the necessary port type.
virtual const char * what() const
PortException(const char *errorStr)
PortException(const std::string &errorStr)