From c916037773d7d3d8d37ca2c5a8899b7b728e377d Mon Sep 17 00:00:00 2001 From: Owen Fraser-Green Date: Tue, 23 Mar 2004 12:10:32 +0000 Subject: First checkin of the Mono bindings. --- mono/DBusException.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mono/DBusException.cs (limited to 'mono/DBusException.cs') 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(); + } + } +} -- cgit