diff options
Diffstat (limited to 'mcs/class/corlib/System/ArrayTypeMismatchException.cs')
-rw-r--r-- | mcs/class/corlib/System/ArrayTypeMismatchException.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/mcs/class/corlib/System/ArrayTypeMismatchException.cs b/mcs/class/corlib/System/ArrayTypeMismatchException.cs new file mode 100644 index 00000000000..2938300de61 --- /dev/null +++ b/mcs/class/corlib/System/ArrayTypeMismatchException.cs @@ -0,0 +1,38 @@ +// +// System.ArrayTypeMismatchException.cs +// +// Author: +// Joe Shaw (joe@ximian.com) +// +// (C) 2001 Ximian, Inc. http://www.ximian.com +// +using System.Globalization; +using System.Runtime.Serialization; + +namespace System { + [Serializable] + public class ArrayTypeMismatchException : SystemException { + // Constructors + public ArrayTypeMismatchException () + : base (Locale.GetText ("Source array type cannot be assigned to destination array type")) + { + } + + public ArrayTypeMismatchException (string message) + : base (message) + { + } + + public ArrayTypeMismatchException (string message, Exception inner) + : base (message, inner) + { + } + + protected ArrayTypeMismatchException (SerializationInfo info, StreamingContext context) + : base (info, context) + { + } + + + } +} |