[banshee] AppleDevice: Change exception type for better logging
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] AppleDevice: Change exception type for better logging
- Date: Tue, 29 Mar 2011 15:17:29 +0000 (UTC)
commit ddb046fa848c88cba86189b3edae2f78e22e7010
Author: Gabriel Burt <gabriel burt gmail com>
Date: Mon Mar 28 16:11:11 2011 -0500
AppleDevice: Change exception type for better logging
.../Banshee.Dap.AppleDevice/AppleDeviceSource.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs
index bee7214..9060a21 100644
--- a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs
+++ b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs
@@ -75,7 +75,7 @@ namespace Banshee.Dap.AppleDevice
if (!Volume.IsMounted) {
Hyena.Log.Information ("AppleDeviceSource is ignoring unmounted volume " + Volume.Name);
- throw new InvalidOperationException ();
+ throw new InvalidDeviceException ();
}
Device = new GPod.Device (Volume.MountPoint);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]