[gnome-dvb-daemon] Add throws DBusError, IOError to DBus methods



commit f3061ee3ace4785a92bf6c04bbaff4bcb39dadb1
Author: Sebastian Pölsterl <sebp k-d-w org>
Date:   Sun Aug 16 12:39:18 2020 +0200

    Add throws DBusError, IOError to DBus methods

 src/dbus/IDBusChannelList.vala     | 22 +++++++++++-----------
 src/dbus/IDBusDeviceGroup.vala     | 22 +++++++++++-----------
 src/dbus/IDBusManager.vala         | 22 +++++++++++-----------
 src/dbus/IDBusRecorder.vala        | 34 +++++++++++++++++-----------------
 src/dbus/IDBusRecordingsStore.vala | 20 ++++++++++----------
 src/dbus/IDBusScanner.vala         | 12 ++++++------
 src/dbus/IDBusSchedule.vala        | 26 +++++++++++++-------------
 src/rygel/Interfaces2.vala         |  6 +++---
 8 files changed, 82 insertions(+), 82 deletions(-)
---
diff --git a/src/dbus/IDBusChannelList.vala b/src/dbus/IDBusChannelList.vala
index 5067fc9..720c545 100644
--- a/src/dbus/IDBusChannelList.vala
+++ b/src/dbus/IDBusChannelList.vala
@@ -37,17 +37,17 @@ namespace DVB {
         /**
          * @returns: List of channel IDs aka SIDs of all channels
          */
-        public abstract uint[] GetChannels () throws DBusError;
+        public abstract uint[] GetChannels () throws DBusError, IOError;
 
         /**
          * @returns: List of channel IDs aka SIDs of radio channels
          */
-        public abstract uint[] GetRadioChannels () throws DBusError;
+        public abstract uint[] GetRadioChannels () throws DBusError, IOError;
 
         /**
          * @returns: List of channel IDs aka SIDs of TV channels
          */
-        public abstract uint[] GetTVChannels () throws DBusError;
+        public abstract uint[] GetTVChannels () throws DBusError, IOError;
 
         /**
          * @channel_id: ID of channel
@@ -55,7 +55,7 @@ namespace DVB {
          * otherwise an empty string
          * @returns: TRUE on success
          */
-        public abstract bool GetChannelName (uint channel_id, out string channel_name) throws DBusError;
+        public abstract bool GetChannelName (uint channel_id, out string channel_name) throws DBusError, 
IOError;
 
         /**
          * @channel_id: ID of channel
@@ -64,44 +64,44 @@ namespace DVB {
          * string
          * @returns: TRUE on success
          */
-        public abstract bool GetChannelNetwork (uint channel_id, out string network) throws DBusError;
+        public abstract bool GetChannelNetwork (uint channel_id, out string network) throws DBusError, 
IOError;
 
         /**
          * @channel_id: ID of channel
          * @radio: Whether the channel is a radio channel or not
          * @returns: TRUE on success
          */
-        public abstract bool IsRadioChannel (uint channel_id, out bool radio) throws DBusError;
+        public abstract bool IsRadioChannel (uint channel_id, out bool radio) throws DBusError, IOError;
 
         /**
          * @channel_id: ID of channel
          * @url: URL to watch the channel
          * @returns: TRUE on success
          */
-        public abstract bool GetChannelURL (uint channel_id, out string url) throws DBusError;
+        public abstract bool GetChannelURL (uint channel_id, out string url) throws DBusError, IOError;
 
-        public abstract ChannelInfo[] GetChannelInfos () throws DBusError;
+        public abstract ChannelInfo[] GetChannelInfos () throws DBusError, IOError;
 
                /**
          * @channel_group_id: ID of the ChannelGroup
          * @returns: TRUE on success
          */
                public abstract bool GetChannelsOfGroup (int channel_group_id,
-                       out uint[] channel_ids) throws DBusError;
+                       out uint[] channel_ids) throws DBusError, IOError;
 
                /**
          * @channel_id: ID of channel
             * @channel_group_id: ID of the ChannelGroup
          * @returns: TRUE on success
          */
-               public abstract bool AddChannelToGroup (uint channel_id, int channel_group_id) throws 
DBusError;
+               public abstract bool AddChannelToGroup (uint channel_id, int channel_group_id) throws 
DBusError, IOError;
 
                /**
                 * @channel_id: ID of channel
             * @channel_group_id: ID of the ChannelGroup
          * @returns: TRUE on success
          */
-               public abstract bool RemoveChannelFromGroup (uint channel_id, int channel_group_id) throws 
DBusError;
+               public abstract bool RemoveChannelFromGroup (uint channel_id, int channel_group_id) throws 
DBusError, IOError;
        }
 
 }
diff --git a/src/dbus/IDBusDeviceGroup.vala b/src/dbus/IDBusDeviceGroup.vala
index 8154ec9..a36c1e1 100644
--- a/src/dbus/IDBusDeviceGroup.vala
+++ b/src/dbus/IDBusDeviceGroup.vala
@@ -31,14 +31,14 @@ namespace DVB {
          * @returns: Name of adapter type the group holds
          * or an empty string when group with given id doesn't exist.
          */
-        public abstract AdapterType GetType () throws DBusError;
+        public abstract AdapterType GetType () throws DBusError, IOError;
 
         /**
          * @returns: Object path of the device's recorder
          *
          * Returns the object path to the device's recorder.
          */
-        public abstract ObjectPath GetRecorder () throws DBusError;
+        public abstract ObjectPath GetRecorder () throws DBusError, IOError;
 
          /**
          * @adapter: Number of the device's adapter
@@ -50,7 +50,7 @@ namespace DVB {
          * The new device will inherit all settings from the group's
          * reference device.
          */
-        public abstract bool AddDevice (uint adapter, uint frontend) throws DBusError;
+        public abstract bool AddDevice (uint adapter, uint frontend) throws DBusError, IOError;
 
         /**
          * @adapter: Number of the device's adapter
@@ -60,47 +60,47 @@ namespace DVB {
          * Removes the device from the group. If the group contains
          * no devices after the removal it's removed as well.
          */
-        public abstract bool RemoveDevice (uint adapter, uint frontend) throws DBusError;
+        public abstract bool RemoveDevice (uint adapter, uint frontend) throws DBusError, IOError;
 
         /**
          * @returns: Object path to the ChannelList service for this device
          */
-        public abstract ObjectPath GetChannelList () throws DBusError;
+        public abstract ObjectPath GetChannelList () throws DBusError, IOError;
 
         /**
          * @returns: Name of the device group
          */
-        public abstract string GetName () throws DBusError;
+        public abstract string GetName () throws DBusError, IOError;
 
         /**
          * @name: Name of the group
          * @returns: TRUE on success
          */
-        public abstract bool SetName (string name) throws DBusError;
+        public abstract bool SetName (string name) throws DBusError, IOError;
 
         /**
          * @returns: List of paths to the devices that are part of
          * the group (e.g. /dev/dvb/adapter0/frontend0)
          */
-        public abstract string[] GetMembers () throws DBusError;
+        public abstract string[] GetMembers () throws DBusError, IOError;
 
         /**
          * @channel_sid: ID of the channel
          * @opath: Object path to Schedule service
          * @returns: TRUE on success
          */
-        public abstract bool GetSchedule (uint channel_sid, out ObjectPath opath) throws DBusError;
+        public abstract bool GetSchedule (uint channel_sid, out ObjectPath opath) throws DBusError, IOError;
 
         /**
          * @returns: Location of the recordings directory
          */
-        public abstract string GetRecordingsDirectory () throws DBusError;
+        public abstract string GetRecordingsDirectory () throws DBusError, IOError;
 
         /**
          * @location: Location of the recordings directory
          * @returns: TRUE on success
          */
-        public abstract bool SetRecordingsDirectory (string location) throws DBusError;
+        public abstract bool SetRecordingsDirectory (string location) throws DBusError, IOError;
 
     }
 
diff --git a/src/dbus/IDBusManager.vala b/src/dbus/IDBusManager.vala
index c8110a1..c5470c7 100644
--- a/src/dbus/IDBusManager.vala
+++ b/src/dbus/IDBusManager.vala
@@ -50,19 +50,19 @@ namespace DVB {
          * Get the object path of the channel scanner for this device.
          */
         public abstract bool GetScannerForDevice (uint adapter, uint frontend, AdapterType type,
-                out ObjectPath opath, out string dbusiface) throws DBusError;
+                out ObjectPath opath, out string dbusiface) throws DBusError, IOError;
 
         /**
          * @returns: Device groups' DBus path
          */
-        public abstract ObjectPath[] GetRegisteredDeviceGroups () throws DBusError;
+        public abstract ObjectPath[] GetRegisteredDeviceGroups () throws DBusError, IOError;
 
         /**
          * @group_id: A group ID
          * @opath: Device group's DBus path
          * @returns: TRUE on success
          */
-        public abstract bool GetDeviceGroup (uint group_id, out ObjectPath opath) throws DBusError;
+        public abstract bool GetDeviceGroup (uint group_id, out ObjectPath opath) throws DBusError, IOError;
 
         /**
          * @adapter: Number of the device's adapter
@@ -79,7 +79,7 @@ namespace DVB {
          * of the reference device).
          */
         public abstract bool AddDeviceToNewGroup (uint adapter, uint frontend, AdapterType type,
-                string channels_conf, string recordings_dir, string name) throws DBusError;
+                string channels_conf, string recordings_dir, string name) throws DBusError, IOError;
 
         /**
          * @adapter: Adapter of device
@@ -91,43 +91,43 @@ namespace DVB {
          * is returned.
          */
         public abstract bool GetNameOfRegisteredDevice (uint adapter, uint frontend,
-            out string name) throws DBusError;
+            out string name) throws DBusError, IOError;
 
         /**
          * @returns: the numner of configured device groups
          */
-        public abstract int GetDeviceGroupSize () throws DBusError;
+        public abstract int GetDeviceGroupSize () throws DBusError, IOError;
 
         /**
          * @returns: ID and name of each channel group
          */
-        public abstract ChannelGroupInfo[] GetChannelGroups () throws DBusError;
+        public abstract ChannelGroupInfo[] GetChannelGroups () throws DBusError, IOError;
 
         /**
          * @name: Name of the new group
          * @channel_group_id: ID of the ChannelGroup
          * @returns: TRUE on success
          */
-        public abstract bool AddChannelGroup (string name, out int channel_group_id) throws DBusError;
+        public abstract bool AddChannelGroup (string name, out int channel_group_id) throws DBusError, 
IOError;
 
         /**
          * @channel_group_id: ID of the ChannelGroup
          * @returns: TRUE on success
          */
-        public abstract bool RemoveChannelGroup (int channel_group_id) throws DBusError;
+        public abstract bool RemoveChannelGroup (int channel_group_id) throws DBusError, IOError;
 
         /**
          * @returns: informations about all connected
          * devices retrieved via udev
          */
-        public abstract GLib.HashTable<string, string>[] GetDevices () throws DBusError;
+        public abstract GLib.HashTable<string, string>[] GetDevices () throws DBusError, IOError;
 
         /**
          * @info: type and name of adapter
          * @returns: TRUE on success
          */
         public abstract bool GetAdapterInfo (uint adapter, uint frontend,
-            out AdapterInfo info) throws DBusError;
+            out AdapterInfo info) throws DBusError, IOError;
 
     }
 
diff --git a/src/dbus/IDBusRecorder.vala b/src/dbus/IDBusRecorder.vala
index 13fe62f..e67803b 100644
--- a/src/dbus/IDBusRecorder.vala
+++ b/src/dbus/IDBusRecorder.vala
@@ -54,7 +54,7 @@ namespace DVB {
          */
         public abstract bool AddTimer (uint channel,
             int start_year, int start_month, int start_day,
-            int start_hour, int start_minute, uint duration, out uint32 timer_id) throws DBusError;
+            int start_hour, int start_minute, uint duration, out uint32 timer_id) throws DBusError, IOError;
 
          /**
          * Works the same way as AddTimer() but adds a margin before and
@@ -62,7 +62,7 @@ namespace DVB {
          */
         public abstract bool AddTimerWithMargin (uint channel,
             int start_year, int start_month, int start_day,
-            int start_hour, int start_minute, uint duration, out uint32 timer_id) throws DBusError;
+            int start_hour, int start_minute, uint duration, out uint32 timer_id) throws DBusError, IOError;
 
         /**
          * @event_id: id of the EPG event
@@ -72,7 +72,7 @@ namespace DVB {
          * @returns: TRUE on success
          */
         public abstract bool AddTimerForEPGEvent (uint event_id,
-            uint channel_sid, out uint32 timer_id) throws DBusError;
+            uint channel_sid, out uint32 timer_id) throws DBusError, IOError;
 
         /**
          * @timer_id: The id of the timer you want to delete
@@ -81,13 +81,13 @@ namespace DVB {
          * Delete timer. If the id belongs to the currently
          * active timer recording is aborted.
          */
-        public abstract bool DeleteTimer (uint32 timer_id) throws DBusError;
+        public abstract bool DeleteTimer (uint32 timer_id) throws DBusError, IOError;
 
         /**
          * dvb_recorder_GetTimers
          * @returns: A list of all timer ids
          */
-        public abstract uint32[] GetTimers () throws DBusError;
+        public abstract uint32[] GetTimers () throws DBusError, IOError;
 
         /**
          * @timer_id: Timer's id
@@ -95,7 +95,7 @@ namespace DVB {
          * 2 = day, 3 = hour and 4 = minute.
          * @returns: TRUE on success
          */
-        public abstract bool GetStartTime (uint32 timer_id, out uint32[] start_time) throws DBusError;
+        public abstract bool GetStartTime (uint32 timer_id, out uint32[] start_time) throws DBusError, 
IOError;
 
         /**
          * @timer_id: The new timer's id on success, or 0 if timer couldn't
@@ -108,14 +108,14 @@ namespace DVB {
          * @returns: TRUE on success
          */
         public abstract bool SetStartTime (uint32 timer_id, int start_year,
-            int start_month, int start_day, int start_hour, int start_minute) throws DBusError;
+            int start_month, int start_day, int start_hour, int start_minute) throws DBusError, IOError;
 
         /**
          * @timer_id: Timer's id
          * @end_time: Same as dvb_recorder_GetStartTime()
          * @returns: TRUE on success
          */
-        public abstract bool GetEndTime (uint32 timer_id, out uint[] end_time) throws DBusError;
+        public abstract bool GetEndTime (uint32 timer_id, out uint[] end_time) throws DBusError, IOError;
 
         /**
          * @timer_id: Timer's id
@@ -123,14 +123,14 @@ namespace DVB {
          * the given id
          * @returns: TRUE on success
          */
-        public abstract bool GetDuration (uint32 timer_id, out uint duration) throws DBusError;
+        public abstract bool GetDuration (uint32 timer_id, out uint duration) throws DBusError, IOError;
 
         /**
          * @timer_id: Timer's id
          * @duration: Duration in minutes
          * @returns: TRUE on success
          */
-        public abstract bool SetDuration (uint32 timer_id, uint duration) throws DBusError;
+        public abstract bool SetDuration (uint32 timer_id, uint duration) throws DBusError, IOError;
 
         /**
          * @timer_id: Timer's id
@@ -138,7 +138,7 @@ namespace DVB {
          * empty string when a timer with the given id doesn't exist
          * @returns: TRUE on success
          */
-        public abstract bool GetChannelName (uint32 timer_id, out string name) throws DBusError;
+        public abstract bool GetChannelName (uint32 timer_id, out string name) throws DBusError, IOError;
 
         /**
          * @timer_id: Timer's id
@@ -147,7 +147,7 @@ namespace DVB {
          * about the title of the show
          * @returns: TRUE on success
          */
-        public abstract bool GetTitle (uint32 timer_id, out string title) throws DBusError;
+        public abstract bool GetTitle (uint32 timer_id, out string title) throws DBusError, IOError;
 
         /**
          * @timer_id: Timer's id
@@ -156,30 +156,30 @@ namespace DVB {
          * This method can be used to retrieve all informations
          * about a particular timer at once
          */
-        public abstract bool GetAllInformations (uint32 timer_id, out TimerInfo info) throws DBusError;
+        public abstract bool GetAllInformations (uint32 timer_id, out TimerInfo info) throws DBusError, 
IOError;
 
         /**
          * @returns: The currently active timers
          */
-        public abstract uint32[] GetActiveTimers () throws DBusError;
+        public abstract uint32[] GetActiveTimers () throws DBusError, IOError;
 
         /**
          * @timer_id: Timer's id
          * @returns: TRUE if timer is currently active
          */
-        public abstract bool IsTimerActive (uint32 timer_id) throws DBusError;
+        public abstract bool IsTimerActive (uint32 timer_id) throws DBusError, IOError;
 
         /**
          * @returns: TRUE if a timer is already scheduled in the given
          * period of time
          */
         public abstract bool HasTimer (uint start_year, uint start_month,
-            uint start_day, uint start_hour, uint start_minute, uint duration) throws DBusError;
+            uint start_day, uint start_hour, uint start_minute, uint duration) throws DBusError, IOError;
 
         /**
          * Checks if a timer overlaps with the given event
          */
-        public abstract OverlapType HasTimerForEvent (uint event_id, uint channel_sid) throws DBusError;
+        public abstract OverlapType HasTimerForEvent (uint event_id, uint channel_sid) throws DBusError, 
IOError;
 
     }
 
diff --git a/src/dbus/IDBusRecordingsStore.vala b/src/dbus/IDBusRecordingsStore.vala
index 07545a1..daa9255 100644
--- a/src/dbus/IDBusRecordingsStore.vala
+++ b/src/dbus/IDBusRecordingsStore.vala
@@ -40,14 +40,14 @@ namespace DVB {
         /**
          * @returns: A list of ids for all recordings
          */
-        public abstract uint32[] GetRecordings () throws DBusError;
+        public abstract uint32[] GetRecordings () throws DBusError, IOError;
 
         /**
          * @rec_id: The id of the recording
          * @location: The location of the recording on the filesystem
          * @returns: TRUE on success
          */
-        public abstract bool GetLocation (uint32 rec_id, out string location) throws DBusError;
+        public abstract bool GetLocation (uint32 rec_id, out string location) throws DBusError, IOError;
 
         /**
          * @rec_id: The id of the recording
@@ -55,7 +55,7 @@ namespace DVB {
          * a TV show)
          * @returns: TRUE on success
          */
-        public abstract bool GetName (uint32 rec_id, out string name) throws DBusError;
+        public abstract bool GetName (uint32 rec_id, out string name) throws DBusError, IOError;
 
         /**
          * @rec_id: The id of the recording
@@ -63,28 +63,28 @@ namespace DVB {
          * (e.g. the description from EPG)
          * @returns: TRUE on success
          */
-        public abstract bool GetDescription (uint32 rec_id, out string description) throws DBusError;
+        public abstract bool GetDescription (uint32 rec_id, out string description) throws DBusError, 
IOError;
 
         /**
          * @rec_id: The id of the recording
          * @start_time: The starting time of the recording
          * @returns: TRUE on success
          */
-        public abstract bool GetStartTime (uint32 rec_id, out uint[] start_time) throws DBusError;
+        public abstract bool GetStartTime (uint32 rec_id, out uint[] start_time) throws DBusError, IOError;
 
         /**
          * @rec_id: The id of the recording
          * @timestamp: Start time as UNIX timestamp
          * @returns: TRUE on success
          */
-        public abstract bool GetStartTimestamp (uint32 rec_id, out int64 timestamp) throws DBusError;
+        public abstract bool GetStartTimestamp (uint32 rec_id, out int64 timestamp) throws DBusError, 
IOError;
 
         /**
          * @rec_id: The id of the recording
          * @length: The length of the recording in seconds
          * @returns: TRUE on success
          */
-        public abstract bool GetLength (uint32 rec_id, out int64 length) throws DBusError;
+        public abstract bool GetLength (uint32 rec_id, out int64 length) throws DBusError, IOError;
 
          /**
          * @rec_id: The id of the recording
@@ -93,7 +93,7 @@ namespace DVB {
          * Delete the recording. This deletes all files in the directory
          * created by the Recorder
          */
-        public abstract bool Delete (uint32 rec_id) throws DBusError;
+        public abstract bool Delete (uint32 rec_id) throws DBusError, IOError;
 
         /**
          * @rec_id: The id of the recording
@@ -101,7 +101,7 @@ namespace DVB {
          * rec_id doesn't exist
          * @returns: TRUE on success
          */
-        public abstract bool GetChannelName (uint32 rec_id, out string name) throws DBusError;
+        public abstract bool GetChannelName (uint32 rec_id, out string name) throws DBusError, IOError;
 
         /**
          * @rec_id: The id of the recording
@@ -110,7 +110,7 @@ namespace DVB {
          * This method can be used to retrieve all informations
          * about a particular recording at once
          */
-        public abstract bool GetAllInformations (uint32 rec_id, out RecordingInfo infos) throws DBusError;
+        public abstract bool GetAllInformations (uint32 rec_id, out RecordingInfo infos) throws DBusError, 
IOError;
 
     }
 
diff --git a/src/dbus/IDBusScanner.vala b/src/dbus/IDBusScanner.vala
index 2a645ae..f145740 100644
--- a/src/dbus/IDBusScanner.vala
+++ b/src/dbus/IDBusScanner.vala
@@ -31,11 +31,11 @@ namespace DVB {
         public abstract signal void frontend_stats (double signal_strength,
             double signal_noise_ratio);
 
-        public abstract void Run () throws DBusError;
-        public abstract void Destroy () throws DBusError;
-        public abstract bool WriteAllChannelsToFile (string path) throws DBusError;
-        public abstract bool WriteChannelsToFile (uint[] channel_sids, string path) throws DBusError;
-        public abstract bool AddScanningData (GLib.HashTable<string, Variant> data) throws DBusError;
+        public abstract void Run () throws DBusError, IOError;
+        public abstract void Destroy () throws DBusError, IOError;
+        public abstract bool WriteAllChannelsToFile (string path) throws DBusError, IOError;
+        public abstract bool WriteChannelsToFile (uint[] channel_sids, string path) throws DBusError, 
IOError;
+        public abstract bool AddScanningData (GLib.HashTable<string, Variant> data) throws DBusError, 
IOError;
 
         /**
          * @path: Path to file containing scanning data
@@ -43,6 +43,6 @@ namespace DVB {
          *
          * Parses initial tuning data from a file as provided by dtv-scan-tables
          */
-        public abstract bool AddScanningDataFromFile (string path) throws DBusError;
+        public abstract bool AddScanningDataFromFile (string path) throws DBusError, IOError;
     }
 }
diff --git a/src/dbus/IDBusSchedule.vala b/src/dbus/IDBusSchedule.vala
index 303e7e9..dff12d7 100644
--- a/src/dbus/IDBusSchedule.vala
+++ b/src/dbus/IDBusSchedule.vala
@@ -33,37 +33,37 @@ namespace DVB {
     [DBus (name = "org.gnome.DVB.Schedule")]
     public interface IDBusSchedule : GLib.Object {
 
-        public abstract uint32[] GetAllEvents () throws DBusError;
+        public abstract uint32[] GetAllEvents () throws DBusError, IOError;
 
-        public abstract EventInfo[] GetAllEventInfos () throws DBusError;
+        public abstract EventInfo[] GetAllEventInfos () throws DBusError, IOError;
 
-        public abstract bool GetInformations (uint32 event_id, out EventInfo event_info) throws DBusError;
+        public abstract bool GetInformations (uint32 event_id, out EventInfo event_info) throws DBusError, 
IOError;
 
         /**
          * @returns: ID of currently running event
          */
-        public abstract uint32 NowPlaying () throws DBusError;
+        public abstract uint32 NowPlaying () throws DBusError, IOError;
 
         /**
          * @returnns: ID of event that follows the given event
          */
-        public abstract uint32 Next (uint32 event_id) throws DBusError;
+        public abstract uint32 Next (uint32 event_id) throws DBusError, IOError;
 
-        public abstract bool GetName (uint32 event_id, out string name) throws DBusError;
+        public abstract bool GetName (uint32 event_id, out string name) throws DBusError, IOError;
 
-        public abstract bool GetShortDescription (uint32 event_id, out string description) throws DBusError;
+        public abstract bool GetShortDescription (uint32 event_id, out string description) throws DBusError, 
IOError;
 
-        public abstract bool GetExtendedDescription (uint32 event_id, out string description) throws 
DBusError;
+        public abstract bool GetExtendedDescription (uint32 event_id, out string description) throws 
DBusError, IOError;
 
-        public abstract bool GetDuration (uint32 event_id, out uint duration) throws DBusError;
+        public abstract bool GetDuration (uint32 event_id, out uint duration) throws DBusError, IOError;
 
-        public abstract bool GetLocalStartTime (uint32 event_id, out uint[] start_time) throws DBusError;
+        public abstract bool GetLocalStartTime (uint32 event_id, out uint[] start_time) throws DBusError, 
IOError;
 
-        public abstract bool GetLocalStartTimestamp (uint32 event_id, out int64 timestamp) throws DBusError;
+        public abstract bool GetLocalStartTimestamp (uint32 event_id, out int64 timestamp) throws DBusError, 
IOError;
 
-        public abstract bool IsRunning (uint32 event_id, out bool running) throws DBusError;
+        public abstract bool IsRunning (uint32 event_id, out bool running) throws DBusError, IOError;
 
-        public abstract bool IsScrambled (uint32 event_id, out bool scrambled) throws DBusError;
+        public abstract bool IsScrambled (uint32 event_id, out bool scrambled) throws DBusError, IOError;
         /*
         public abstract bool IsHighDefinition (uint32 event_id);
 
diff --git a/src/rygel/Interfaces2.vala b/src/rygel/Interfaces2.vala
index 0712f6f..029b275 100644
--- a/src/rygel/Interfaces2.vala
+++ b/src/rygel/Interfaces2.vala
@@ -58,13 +58,13 @@ public interface MediaContainer2 : GLib.Object {
     }
 
     public abstract GLib.HashTable<string, Variant?>[] ListChildren (
-        uint offset, uint max, string[] filter) throws DBusError;
+        uint offset, uint max, string[] filter) throws DBusError, IOError;
 
     public abstract GLib.HashTable<string, Variant?>[] ListContainers (
-        uint offset, uint max, string[] filter) throws DBusError;
+        uint offset, uint max, string[] filter) throws DBusError, IOError;
 
     public abstract GLib.HashTable<string, Variant?>[] ListItems (
-        uint offset, uint max, string[] filter) throws DBusError;
+        uint offset, uint max, string[] filter) throws DBusError, IOError;
 
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]