2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / corlib / System / ArithmeticException.cs
1 //
2 // System.ArithmeticException.cs
3 //
4 // Author:
5 //   Joe Shaw (joe@ximian.com)
6 //   Duncan Mak  (duncan@ximian.com)
7 //
8 // (C) 2001 Ximian, Inc.  http://www.ximian.com
9 //
10
11 using System.Globalization;
12 using System.Runtime.Serialization;
13
14 namespace System {
15         [Serializable]
16         public class ArithmeticException : SystemException {
17                 // Constructors
18                 public ArithmeticException ()
19                         : base (Locale.GetText ("The arithmetic operation is not allowed"))
20                 {
21                 }
22
23                 public ArithmeticException (string message)
24                         : base (message)
25                 {
26                 }
27
28                 public ArithmeticException (string message, Exception inner)
29                         : base (message, inner)
30                 {
31                 }
32
33                 protected ArithmeticException (SerializationInfo info, StreamingContext context)
34                         : base (info, context)
35                 {
36                 }
37         }
38 }