Bayeux
3.4.1
Core Foundation library for SuperNEMO
|
Exception being thrown when serialization cannot proceed. More...
#include <bayeux/boost/archive/portable_archive_exception.hpp>
Public Member Functions | |
portable_archive_exception (signed char invalid_size) | |
type size is not large enough for deserialized number More... | |
portable_archive_exception () | |
negative number in unsigned type More... | |
template<typename T > | |
portable_archive_exception (const T &abnormal) | |
serialization of inf, nan and denormals More... | |
const char * | what () const throw () |
override the base class function with our message More... | |
~portable_archive_exception () throw () | |
Exception being thrown when serialization cannot proceed.
There are several situations in which the portable archives may 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 the reported size will be totally amiss most of the time).
|
inline |
type size is not large enough for deserialized number
|
inline |
negative number in unsigned type
|
inline |
serialization of inf, nan and denormals
|
inline |
|
inline |
override the base class function with our message