2008-01-02 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.Security / VerificationException.cs
index 676d2bfaca6c4cbf1b6b670fd457d91fd558d420..09e7ee5019d11d45a9550da7670aa774a7331e16 100644 (file)
@@ -1,25 +1,62 @@
-//\r
-// System.Security.VerificationException.cs\r
-//\r
-// Author:\r
-//   Nick Drochak(ndrochak@gol.com)\r
-//\r
-// (C) Nick Drochak\r
-//\r
-\r
-using System.Runtime.Serialization;\r
-using System.Globalization;\r
-\r
-namespace System.Security {\r
-       public class VerificationException : SystemException {\r
-       \r
-               // Constructors\r
-               public VerificationException(){}\r
-               public VerificationException(string message) \r
-                       : base (message){}\r
-               protected VerificationException(SerializationInfo info, StreamingContext context) \r
-                       : base (info, context) {}\r
-               public VerificationException(string message, Exception inner) \r
-                       : base (message, inner) {}\r
-       }\r
-}
\ No newline at end of file
+//
+// System.Security.VerificationException.cs
+//
+// Author:
+//   Nick Drochak(ndrochak@gol.com)
+//
+// (C) Nick Drochak
+// Copyright (C) 2004-2005 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.
+//
+
+using System.Globalization;
+using System.Runtime.InteropServices;
+using System.Runtime.Serialization;
+
+namespace System.Security {
+
+       [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
+       public class VerificationException : SystemException {
+       
+               // Constructors
+               public VerificationException ()
+               {
+               }
+
+               public VerificationException (string message) 
+                       : base (message)
+               {
+               }
+
+               protected VerificationException (SerializationInfo info, StreamingContext context) 
+                       : base (info, context)
+               {
+               }
+
+               public VerificationException (string message, Exception inner) 
+                       : base (message, inner)
+               {
+               }
+       }
+}