X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Ft2n_exception.hxx;h=9d789b5cfe67ed45c76dc1ac2134155bbb798935;hp=2be0fc5979d1b80dee06d4ff5b191f3666018599;hb=cc68aabb16ec32278df8b071c4c9efec7e9f0dce;hpb=59adb9e24e4ac66b2623742c3b9c81a1c20ff9f0 diff --git a/src/t2n_exception.hxx b/src/t2n_exception.hxx index 2be0fc5..9d789b5 100644 --- a/src/t2n_exception.hxx +++ b/src/t2n_exception.hxx @@ -40,10 +40,7 @@ void serialize(Archive & ar, std::exception & g, const unsigned int version) namespace libt2n { -/** - generic libt2n exception -*/ -// a generic exception that can be handeled with libt2n +/// a generic exception that can be handeled with libt2n class t2n_exception : public std::exception { private: @@ -78,7 +75,7 @@ class t2n_exception : public std::exception }; BOOST_CLASS_EXPORT(t2n_exception) -// a (unspecified) problem with libt2n communication +/// a (unspecified) problem with libt2n communication class t2n_communication_error : public t2n_exception { private: @@ -105,7 +102,7 @@ class t2n_communication_error : public t2n_exception }; BOOST_CLASS_EXPORT(t2n_communication_error) -// can't connect to libt2n server +/// can't connect to libt2n server class t2n_connect_error : public t2n_communication_error { private: @@ -132,7 +129,7 @@ class t2n_connect_error : public t2n_communication_error }; BOOST_CLASS_EXPORT(t2n_connect_error) -// error establishing a socket on the server (only thrown on the server-side) +/// error establishing a socket on the server (only thrown on the server-side) class t2n_server_error : public t2n_communication_error { private: @@ -159,7 +156,7 @@ class t2n_server_error : public t2n_communication_error }; BOOST_CLASS_EXPORT(t2n_server_error) -// error transmitting or receiving libt2n messages +/// error transmitting or receiving libt2n messages class t2n_transfer_error : public t2n_communication_error { private: @@ -186,7 +183,7 @@ class t2n_transfer_error : public t2n_communication_error }; BOOST_CLASS_EXPORT(t2n_transfer_error) -// tried to talk to an incompatible libt2n version +/// tried to talk to an incompatible libt2n version class t2n_version_mismatch : public t2n_communication_error { private: @@ -213,7 +210,7 @@ class t2n_version_mismatch : public t2n_communication_error }; BOOST_CLASS_EXPORT(t2n_version_mismatch) -// illegal libt2n command received +/// illegal libt2n command received class t2n_command_error : public t2n_exception { private: @@ -240,7 +237,7 @@ class t2n_command_error : public t2n_exception }; BOOST_CLASS_EXPORT(t2n_command_error) -// error serializing or deserializing a libt2n command packet +/// error serializing or deserializing a libt2n command packet class t2n_serialization_error : public t2n_exception { private: @@ -267,8 +264,9 @@ class t2n_serialization_error : public t2n_exception }; BOOST_CLASS_EXPORT(t2n_serialization_error) -// a runtime error within the remote function -// derive your own custom exceptions from this one +/** @brief a runtime error within the remote function. + derive your own custom exceptions from this one +*/ class t2n_runtime_error : public t2n_exception { private: