![]() |
QxOrm 1.1.8
C++ Object Relational Mapping library
|
Exception being thrown when serialization cannot proceed. More...
#include <portable_archive_exception.hpp>
Public Member Functions | |
portable_archive_exception (signed char invalid_size) | |
type size is not large enough for deserialized number | |
portable_archive_exception () | |
negative number in unsigned type | |
template<typename T > | |
portable_archive_exception (const T &abnormal) | |
serialization of inf, nan and denormals | |
const char * | what () const throw () |
override the base class function with our message | |
~portable_archive_exception () throw () | |
Private Attributes | |
std::string | msg |
Exception being thrown when serialization cannot proceed.
There are several situations in which the portable archives must fail and hence throw an exception:
Note that this exception will also be thrown if you mixed up your stream position and accidentially interpret some value for size data (in this case invalid_size will be totally amiss most of the time).
Definition at line 41 of file portable_archive_exception.hpp.
eos::portable_archive_exception::portable_archive_exception | ( | signed char | invalid_size | ) | [inline] |
type size is not large enough for deserialized number
Definition at line 48 of file portable_archive_exception.hpp.
eos::portable_archive_exception::portable_archive_exception | ( | ) | [inline] |
negative number in unsigned type
Definition at line 54 of file portable_archive_exception.hpp.
eos::portable_archive_exception::portable_archive_exception | ( | const T & | abnormal | ) | [inline] |
serialization of inf, nan and denormals
Definition at line 58 of file portable_archive_exception.hpp.
eos::portable_archive_exception::~portable_archive_exception | ( | ) | throw () [inline] |
Definition at line 65 of file portable_archive_exception.hpp.
const char* eos::portable_archive_exception::what | ( | ) | const throw () [inline] |
override the base class function with our message
Definition at line 64 of file portable_archive_exception.hpp.
std::string eos::portable_archive_exception::msg [private] |
Definition at line 43 of file portable_archive_exception.hpp.