X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Ft2n_exception.cpp;h=0b90f87b2b9dd41ef2677695f24c18beb019e146;hp=1aae5c4af38814b42dccc32700ce408de4dc3e3f;hb=91730468439e21dcf8d275d0f70d803c20ccaa7c;hpb=e453407db5951aa7f504282ea82d1ca1f19d22fb diff --git a/src/t2n_exception.cpp b/src/t2n_exception.cpp index 1aae5c4..0b90f87 100644 --- a/src/t2n_exception.cpp +++ b/src/t2n_exception.cpp @@ -33,6 +33,7 @@ BOOST_CLASS_EXPORT(libt2n::t2n_server_error) BOOST_CLASS_EXPORT(libt2n::t2n_transfer_error) BOOST_CLASS_EXPORT(libt2n::t2n_version_mismatch) BOOST_CLASS_EXPORT(libt2n::t2n_command_error) +BOOST_CLASS_EXPORT(libt2n::t2n_parameter_error) BOOST_CLASS_EXPORT(libt2n::t2n_serialization_error) BOOST_CLASS_EXPORT(libt2n::t2n_runtime_error) @@ -83,6 +84,12 @@ void t2n_command_error::serialize(Archive & ar, const unsigned int version) } template +void t2n_parameter_error::serialize(Archive & ar, const unsigned int version) +{ + ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(t2n_exception); +} + +template void t2n_serialization_error::serialize(Archive & ar, const unsigned int version) { ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(t2n_exception);