| 256 | // ---------------------------------------------------------------------------------------- |
| 257 | |
| 258 | class serialization_error : public error |
| 259 | { |
| 260 | /*! |
| 261 | WHAT THIS OBJECT REPRESENTS |
| 262 | This is the exception object. It is thrown if serialization or |
| 263 | deserialization fails. |
| 264 | !*/ |
| 265 | |
| 266 | public: |
| 267 | serialization_error(const std::string& e):error(e) {} |
| 268 | }; |
| 269 | |
| 270 | |
| 271 | void check_serialized_version( |
no outgoing calls
no test coverage detected