2938300de6158935dc3bda257f44c5cd29d3019d
[mono.git] / mcs / class / corlib / System / ArrayTypeMismatchException.cs
1 //
2 // System.ArrayTypeMismatchException.cs
3 //
4 // Author:
5 //   Joe Shaw (joe@ximian.com)
6 //
7 // (C) 2001 Ximian, Inc.  http://www.ximian.com
8 //
9 using System.Globalization;
10 using System.Runtime.Serialization;
11
12 namespace System {
13         [Serializable]
14         public class ArrayTypeMismatchException : SystemException {
15                 // Constructors
16                 public ArrayTypeMismatchException ()
17                         : base (Locale.GetText ("Source array type cannot be assigned to destination array type"))
18                 {
19                 }
20
21                 public ArrayTypeMismatchException (string message)
22                         : base (message)
23                 {
24                 }
25
26                 public ArrayTypeMismatchException (string message, Exception inner)
27                         : base (message, inner)
28                 {
29                 }
30
31                 protected ArrayTypeMismatchException (SerializationInfo info, StreamingContext context)
32                         : base (info, context)
33                 {
34                 }
35
36                 
37         }
38 }