diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2017-10-07 10:16:22 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2017-10-07 10:16:22 +0200 |
commit | dbad103d667a6b72afcbb4b8df42fcab299b3081 (patch) | |
tree | e8fd8ee3b935f95069985caad85f5596f95b41df /gio/src/dbusconnection.hg | |
parent | abb93ba7861fa4e87fc2fb9d243c9fdb94a6f2d2 (diff) | |
download | glibmm-dbad103d667a6b72afcbb4b8df42fcab299b3081.tar.gz |
Gio::Credentials, et al.: Add exception specs to errthrow
Diffstat (limited to 'gio/src/dbusconnection.hg')
-rw-r--r-- | gio/src/dbusconnection.hg | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/gio/src/dbusconnection.hg b/gio/src/dbusconnection.hg index bac93159..f17992f1 100644 --- a/gio/src/dbusconnection.hg +++ b/gio/src/dbusconnection.hg @@ -216,8 +216,6 @@ public: */ static void get(BusType bus_type, const SlotAsyncReady& slot); - _WRAP_METHOD_DOCS_ONLY( g_bus_get_finish, errthrow) - /// @throw Glib::Error. _WRAP_METHOD(static Glib::RefPtr<Connection> get_finish(const Glib::RefPtr<AsyncResult>& res), g_bus_get_finish, errthrow) _WRAP_METHOD(static Glib::RefPtr<Connection> get_sync(BusType bus_type, const Glib::RefPtr<Cancellable>& cancellable{?}), g_bus_get_sync, errthrow) @@ -250,8 +248,6 @@ public: const SlotAsyncReady& slot, ConnectionFlags flags = Gio::DBus::ConnectionFlags::NONE); - _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_finish) - /// @throw Glib::Error. _WRAP_METHOD(static Glib::RefPtr<Connection> create_finish(const Glib::RefPtr<AsyncResult>& res), g_dbus_connection_new_finish, errthrow) _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_for_address) @@ -278,12 +274,9 @@ public: const SlotAsyncReady& slot, ConnectionFlags flags = Gio::DBus::ConnectionFlags::NONE); - _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_for_address_finish) - /// @throw Glib::Error. _WRAP_METHOD(static Glib::RefPtr<Connection> create_for_address_finish(const Glib::RefPtr<AsyncResult>& res), g_dbus_connection_new_for_address_finish, errthrow) - _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_sync) - /// @throw Glib::Error. + _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_sync, errthrow) static Glib::RefPtr<Connection> create_sync( const Glib::RefPtr<IOStream>& stream, const std::string& guid, @@ -291,8 +284,7 @@ public: const Glib::RefPtr<Cancellable>& cancellable, ConnectionFlags flags = Gio::DBus::ConnectionFlags::NONE); - _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_sync) - /// @throw Glib::Error. + _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_sync, errthrow) static Glib::RefPtr<Connection> create_sync( const Glib::RefPtr<IOStream>& stream, const std::string& guid, @@ -312,16 +304,14 @@ public: const std::string& guid, ConnectionFlags flags = Gio::DBus::ConnectionFlags::NONE); - _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_for_address_sync) - /// @throw Glib::Error. + _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_for_address_sync, errthrow) static Glib::RefPtr<Connection> create_for_address_sync( const std::string& address, const Glib::RefPtr<AuthObserver>& observer, const Glib::RefPtr<Cancellable>& cancellable, ConnectionFlags flags = Gio::DBus::ConnectionFlags::NONE); - _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_for_address_sync) - /// @throw Glib::Error. + _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_new_for_address_sync, errthrow) static Glib::RefPtr<Connection> create_for_address_sync( const std::string& address, const Glib::RefPtr<Cancellable>& cancellable, @@ -532,8 +522,6 @@ public: int timeout_msec, const SlotAsyncReady& slot); - _WRAP_METHOD_DOCS_ONLY(g_dbus_connection_send_message_with_reply_finish) - /// @throw Glib::Error. _WRAP_METHOD(Glib::RefPtr<Message> send_message_with_reply_finish(const Glib::RefPtr<AsyncResult>& res), g_dbus_connection_send_message_with_reply_finish, errthrow) /** Synchronously sends @a message to the peer represented by the connection |