49 Exception(
const std::string& txt)
noexcept: text(txt) {}
50 Exception()
noexcept: text(
"Exception") {}
51 virtual ~Exception()
noexcept(
true) {}
53 friend std::ostream& operator<<(std::ostream& os,
const Exception& ex )
59 virtual const char* what()
const noexcept override
65 const std::string text;
68 class OutOfRange:
public Exception
71 OutOfRange()
noexcept: Exception(
"OutOfRange") {}
72 OutOfRange(
const std::string& err)
noexcept: Exception(err) {}
78 class ORepFailed:
public Exception
81 ORepFailed()
noexcept: Exception(
"ORepFailed") {}
84 ORepFailed(
const std::string& err)
noexcept: Exception(err) {}
89 class SystemError:
public Exception
92 SystemError()
noexcept: Exception(
"SystemError") {}
95 SystemError(
const std::string& err)
noexcept: Exception(err) {}
99 class CommFailed:
public Exception
102 CommFailed()
noexcept: Exception(
"CommFailed") {}
105 CommFailed(
const std::string& err)
noexcept: Exception(err) {}
113 class TimeOut:
public CommFailed
116 TimeOut()
noexcept: CommFailed(
"TimeOut") {}
119 TimeOut(
const std::string& err)
noexcept: CommFailed(err) {}
124 class ResolveNameError:
public ORepFailed
127 ResolveNameError()
noexcept: ORepFailed(
"ResolveNameError") {}
128 ResolveNameError(
const std::string& err)
noexcept: ORepFailed(err) {}
132 class NSResolveError:
public ORepFailed
135 NSResolveError()
noexcept: ORepFailed(
"NSResolveError") {}
136 NSResolveError(
const std::string& err)
noexcept: ORepFailed(err) {}
144 class ObjectNameAlready:
public ResolveNameError
147 ObjectNameAlready()
noexcept: ResolveNameError(
"ObjectNameAlready") {}
157 class IOBadParam:
public Exception
160 IOBadParam()
noexcept: Exception(
"IOBadParam") {}
163 IOBadParam(
const std::string& err)
noexcept: Exception(err) {}
166 class AccessDenied:
public Exception
169 AccessDenied()
noexcept: AccessDenied(
"AccessDenied") {}
170 AccessDenied(
const std::string& err)
noexcept: Exception(err) {}
177 class InvalidObjectName:
public ResolveNameError
180 InvalidObjectName()
noexcept: ResolveNameError(
"InvalidObjectName") {}
181 InvalidObjectName(
const std::string& err)
noexcept: ResolveNameError(err) {}
184 class NameNotFound:
public ResolveNameError
187 NameNotFound()
noexcept: ResolveNameError(
"NameNotFound") {}
188 NameNotFound(
const std::string& err)
noexcept: ResolveNameError(err) {}
CommFailed(const std::string &err) noexcept
Определения Exceptions.h:105
ObjectNameAlready(const std::string &err) noexcept
Определения Exceptions.h:150
IOBadParam(const std::string &err) noexcept
Определения Exceptions.h:163
ORepFailed(const std::string &err) noexcept
Определения Exceptions.h:84
SystemError(const std::string &err) noexcept
Определения Exceptions.h:95
TimeOut(const std::string &err) noexcept
Определения Exceptions.h:119
Определения Calibration.h:27