2002-06-08 Martin Baulig <martin@gnome.org>
[mono.git] / mcs / class / corlib / System / IndexOutOfRangeException.cs
1 //
2 // System.IndexOutOfRangeException.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         [Serializable]
14         public sealed class IndexOutOfRangeException : SystemException {
15                 // Constructors
16                 public IndexOutOfRangeException ()
17                         : base (Locale.GetText ("Array index is out of range"))
18                 {
19                 }
20
21                 public IndexOutOfRangeException (string message)
22                         : base (message)
23                 {
24                 }
25
26                 public IndexOutOfRangeException (string message, Exception inner)
27                         : base (message, inner)
28                 {
29                 }
30         }
31 }