25 #if defined(_WIN32) && defined(HR_ENGINE_SHARED) 27 # define MR_DllDeclare __declspec( dllexport ) 29 # define MR_DllDeclare __declspec( dllimport ) 32 # define MR_DllDeclare 48 NetExn(
const char*
const &msg) : SUPER(), msg(msg) { }
49 NetExn(
const std::string &msg) : SUPER(), msg(msg) { }
52 virtual const char*
what()
const throw() {
return msg.c_str(); }
NetExn(const char *const &msg)
Definition: NetExn.h:48
A network exception.
Definition: NetExn.h:42
virtual const char * what() const
Definition: NetExn.h:52
NetExn(const std::string &msg)
Definition: NetExn.h:49
CanceledExn()
Definition: NetExn.h:67
#define MR_DllDeclare
Definition: NetExn.h:32
Thrown when the transfer is intentionally aborted (usually by CancelFlag).
Definition: NetExn.h:64
virtual ~NetExn()
Definition: NetExn.h:50
std::exception SUPER
Definition: NetExn.h:44
std::string msg
Definition: NetExn.h:55
Definition: Announcement.h:24
NetExn()
Definition: NetExn.h:47
virtual ~CanceledExn()
Definition: NetExn.h:68