Changeset 19:280541440d22 in xplra for src/client/c/hu/varadiistvan/xplra/Exception.h
- Timestamp:
- 02/03/13 13:46:17 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/client/c/hu/varadiistvan/xplra/Exception.h
r14 r19 177 177 * Construct the exception 178 178 */ 179 NotConnectedException(); 179 NotConnectedException() throw(); 180 }; 181 182 //------------------------------------------------------------------------------ 183 184 /** 185 * Exception thrown when we want to get or set a dataref in a 186 * MultiBuffer into or from a value of the wrong type. 187 */ 188 class TypeMismatchException : public Exception 189 { 190 public: 191 /** 192 * Construct the exception 193 */ 194 TypeMismatchException() throw(); 195 }; 196 197 //------------------------------------------------------------------------------ 198 199 /** 200 * Exception thrown when we want to get or set a dataref with an 201 * invalid ID. 202 */ 203 class InvalidIDException : public Exception 204 { 205 public: 206 /** 207 * Construct the exception 208 */ 209 InvalidIDException() throw(); 180 210 }; 181 211 … … 221 251 //------------------------------------------------------------------------------ 222 252 223 inline NotConnectedException::NotConnectedException() :253 inline NotConnectedException::NotConnectedException() throw() : 224 254 Exception("xplra::NotConnectedException: not connected to the simulator") 255 { 256 } 257 258 //------------------------------------------------------------------------------ 259 //------------------------------------------------------------------------------ 260 261 inline TypeMismatchException::TypeMismatchException() throw() : 262 Exception("xplra::TypeMismatchException") 263 { 264 } 265 266 //------------------------------------------------------------------------------ 267 //------------------------------------------------------------------------------ 268 269 inline InvalidIDException::InvalidIDException() throw() : 270 Exception("xplra::InvalidIDException") 225 271 { 226 272 }
Note:
See TracChangeset
for help on using the changeset viewer.