summaryrefslogtreecommitdiffstats
path: root/mono/DBusException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mono/DBusException.cs')
-rw-r--r--mono/DBusException.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mono/DBusException.cs b/mono/DBusException.cs
new file mode 100644
index 00000000..5c912cca
--- /dev/null
+++ b/mono/DBusException.cs
@@ -0,0 +1,12 @@
+namespace DBus
+{
+ using System;
+ using System.Runtime.InteropServices;
+
+ public class DBusException : ApplicationException
+ {
+ internal DBusException (Error error) : base (error.Message) {
+ error.Free();
+ }
+ }
+}