Author: atsushi
Date: 2007-05-25 09:18:08 -0400 (Fri, 25 May 2007)
New Revision: 77943

Added:
   trunk/mcs/class/corlib/System.Resources/MissingSatelliteAssemblyException.cs
Modified:
   trunk/mcs/class/corlib/System.Resources/ChangeLog
Log:
2007-05-25  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * MissingSatelliteAssemblyException.cs : new file.



Modified: trunk/mcs/class/corlib/System.Resources/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Resources/ChangeLog   2007-05-25 11:46:17 UTC 
(rev 77942)
+++ trunk/mcs/class/corlib/System.Resources/ChangeLog   2007-05-25 13:18:08 UTC 
(rev 77943)
@@ -1,3 +1,7 @@
+2007-05-25  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * MissingSatelliteAssemblyException.cs : new file.
+
 2007-02-16  Gert Driesen  <[EMAIL PROTECTED]>
 
        * ResourceReader.cs: Fixed typo.

Added: 
trunk/mcs/class/corlib/System.Resources/MissingSatelliteAssemblyException.cs
===================================================================
--- 
trunk/mcs/class/corlib/System.Resources/MissingSatelliteAssemblyException.cs    
    2007-05-25 11:46:17 UTC (rev 77942)
+++ 
trunk/mcs/class/corlib/System.Resources/MissingSatelliteAssemblyException.cs    
    2007-05-25 13:18:08 UTC (rev 77943)
@@ -0,0 +1,77 @@
+//
+// System.Resources.MissingSatelliteAssemblyException.cs
+//
+// Author:
+//     Atsushi Enomoto <[EMAIL PROTECTED]>
+//
+
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Globalization;
+using System.Runtime.Serialization;
+
+namespace System.Resources
+{
+
+       [Serializable]
+       [System.Runtime.InteropServices.ComVisible (true)]
+       public class MissingSatelliteAssemblyException : SystemException
+       {
+               private string culture;
+
+               // Constructors
+               public MissingSatelliteAssemblyException ()
+                       : base (Locale.GetText ("The satellite assembly was not 
found for the required culture."))
+               {
+               }
+               
+               public MissingSatelliteAssemblyException (string message)
+                       :base (message)
+               {
+               }
+               
+               public MissingSatelliteAssemblyException (string message, 
string cultureName)
+                       :base (message)
+               {
+               }
+               
+               protected MissingSatelliteAssemblyException (SerializationInfo 
info, StreamingContext context)
+                                   :base (info, context)
+               {
+               }
+               
+               public MissingSatelliteAssemblyException (String message, 
Exception e)
+                       : base (message, e)
+               {
+               }
+
+               public string CultureName {
+                       get { return culture; }
+               }
+       }
+}
+
+#endif

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to