21 #ifndef HAZELCAST_EXCEPTION
22 #define HAZELCAST_EXCEPTION
24 #include "hazelcast/util/HazelcastDll.h"
28 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
30 #pragma warning(disable: 4251) //for dll export
31 #pragma warning(disable: 4275) //for dll export
61 IException(
const std::string &source,
const std::string &message);
71 virtual char const *what()
const throw();
73 const std::string &getSource()
const;
75 const std::string &getMessage()
const;
87 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
91 #endif //HAZELCAST_EXCEPTION
Base class for all exception originated from Hazelcast methods.
Definition: IException.h:51