X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-sharp%2FClientException.cs;h=0f511accec5abbebba3a83e971b511826f6e0f59;hb=908e491f7d55209acfbb2595ab1ef5b24502d641;hp=fadcce91f2a18241b7718eb6cc638fd09304ba29;hpb=2b2844b10d7b7e5c97f9c667d664d9418bb7769a;p=catta 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;