1 #ifndef ISPN_HOTROD_EXCEPTIONS_H 2 #define ISPN_HOTROD_EXCEPTIONS_H 13 class HR_EXTERN Exception :
public std::exception
16 explicit Exception(
const std::string& message=std::string()) throw();
17 virtual ~Exception() throw();
18 virtual const
char* what() const throw();
34 virtual const char* what()
const throw();
52 if (hostPtr.get() == NULL) {
55 return *(hostPtr.get());
57 const char *getHostCString()
const;
61 const std::string host;
63 std::shared_ptr<std::string> hostPtr;
Definition: exceptions.h:107
#define HR_EXTERN
Definition: ImportExport.h:35
Definition: exceptions.h:45
int getErrnum() const
Definition: exceptions.h:59
Definition: exceptions.h:85
Definition: AuthenticationConfiguration.h:10
Definition: exceptions.h:74
const std::string & getHost() const
Definition: exceptions.h:51
Definition: exceptions.h:95
#define __pragma(...)
Definition: defs.h:106
Definition: exceptions.h:117
Definition: exceptions.h:28