Wed Sep 11 15:26:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mcs / class / corlib / System / ArithmeticException.cs
index 94d17043a5371916e03b13b1a4a8a31362203efe..ff6c98cbb35b82c04b3bcb699732feead786172e 100644 (file)
@@ -3,14 +3,16 @@
 //
 // Author:
 //   Joe Shaw (joe@ximian.com)
+//   Duncan Mak  (duncan@ximian.com)
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 //
 
 using System.Globalization;
+using System.Runtime.Serialization;
 
 namespace System {
-
+       [Serializable]
        public class ArithmeticException : SystemException {
                // Constructors
                public ArithmeticException ()
@@ -27,5 +29,10 @@ namespace System {
                        : base (message, inner)
                {
                }
+
+               protected ArithmeticException (SerializationInfo info, StreamingContext context)
+                       : base (info, context)
+               {
+               }
        }
 }