19 #ifndef HAZELCAST_EXCEPTION
20 #define HAZELCAST_EXCEPTION
22 #include "hazelcast/util/HazelcastDll.h"
26 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
28 #pragma warning(disable: 4251) //for dll export
29 #pragma warning(disable: 4275) //for dll export
59 IException(
const std::string &source,
const std::string &message);
69 virtual char const *what()
const throw();
71 const std::string &getSource()
const;
73 const std::string &getMessage()
const;
85 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
89 #endif //HAZELCAST_EXCEPTION
Base class for all exception originated from Hazelcast methods.
Definition: IException.h:49