2002-01-14 Miguel de Icaza <miguel@ximian.com>
[mono.git] / mcs / class / corlib / System / InvalidCastException.cs
1 //
2 // System.InvalidCastException.cs
3 //
4 // Author:
5 //   Joe Shaw (joe@ximian.com)
6 //
7 // (C) 2001 Ximian, Inc.  http://www.ximian.com
8 //
9
10 using System.Globalization;
11 namespace System {
12
13         public class InvalidCastException : SystemException {
14                 // Constructors
15                 public InvalidCastException ()
16                         : base (Locale.GetText ("Cannot cast from source type to destination type"))
17                 {
18                 }
19
20                 public InvalidCastException (string message)
21                         : base (message)
22                 {
23                 }
24
25                 public InvalidCastException (string message, Exception inner)
26                         : base (message, inner)
27                 {
28                 }
29         }
30 }