exception.hpp 315 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SERIALIZATION_EXCEPTION_HPP_INCLUDED
#define SERIALIZATION_EXCEPTION_HPP_INCLUDED

#include <stdexcept>

class SerializationException: public std::runtime_error
{
public:
  SerializationException(const std::string& str):
    std::runtime_error(str) {}
};


#endif /* SERIALIZATION_EXCEPTION_HPP_INCLUDED */