[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/Xsharp Display.cs,1.8,1.9
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/Xsharp Display.cs,1.8,1.9 |
Date: |
Mon, 28 Jul 2003 04:03:48 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/Xsharp
In directory subversions:/tmp/cvs-serv32465/Xsharp
Modified Files:
Display.cs
Log Message:
Pnetlib to use DllNotFoundException and EntryPointNotFoundException
instead of MissingMethodException.
Index: Display.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/Xsharp/Display.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** Display.cs 25 Jul 2003 04:19:19 -0000 1.8
--- Display.cs 28 Jul 2003 08:03:45 -0000 1.9
***************
*** 165,168 ****
--- 165,172 ----
// be locking every access to
the display anyway.
}
+ catch(EntryPointNotFoundException)
+ {
+ // Same as above.
+ }
IntPtr dpy =
Xlib.XOpenDisplay(displayName);
if(dpy != IntPtr.Zero)
***************
*** 194,197 ****
--- 198,211 ----
throw new XCannotConnectException
(S._("X_LibraryNotPresent"));
+ }
+ catch(DllNotFoundException de)
+ {
+ throw new XCannotConnectException
+ (S._("X_LibraryNotPresent"),
de);
+ }
+ catch(EntryPointNotFoundException ee)
+ {
+ throw new XCannotConnectException
+ (S._("X_LibraryNotPresent"),
ee);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/Xsharp Display.cs,1.8,1.9,
Rhys Weatherley <address@hidden> <=