diff options
Diffstat (limited to 'avahi-sharp/ClientException.cs')
-rw-r--r-- | avahi-sharp/ClientException.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/avahi-sharp/ClientException.cs b/avahi-sharp/ClientException.cs index fadcce9..0f511ac 100644 --- a/avahi-sharp/ClientException.cs +++ b/avahi-sharp/ClientException.cs @@ -1,5 +1,3 @@ -/* $Id$ */ - /*** This file is part of avahi. @@ -95,14 +93,14 @@ namespace Avahi this.code = code; } } - + public class ClientException : ApplicationException { private ErrorCode code; [DllImport ("avahi-common")] private static extern IntPtr avahi_strerror (ErrorCode code); - + public ErrorCode ErrorCode { get { return code; } @@ -110,7 +108,7 @@ namespace Avahi internal ClientException (int code) : this ((ErrorCode) code) { } - + internal ClientException (ErrorCode code) : base (GetErrorString (code)) { this.code = code; |