2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
2008-11-17 18:29:00 -05:00
|
|
|
//=============================================================================
|
|
|
|
//
|
|
|
|
// Class: IndexOutOfRangeException
|
|
|
|
//
|
|
|
|
// Purpose: Exception class for invalid array indices.
|
|
|
|
//
|
|
|
|
//=============================================================================
|
2008-03-05 09:52:00 -05:00
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
namespace System
|
|
|
|
{
|
2008-03-05 09:52:00 -05:00
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
|
|
|
|
//| <include path='docs/doc[@for="IndexOutOfRangeException"]/*' />
|
2008-11-17 18:29:00 -05:00
|
|
|
public sealed partial class IndexOutOfRangeException : SystemException {
|
2008-03-05 09:52:00 -05:00
|
|
|
//| <include path='docs/doc[@for="IndexOutOfRangeException.IndexOutOfRangeException"]/*' />
|
|
|
|
public IndexOutOfRangeException()
|
|
|
|
: base("Arg_IndexOutOfRangeException") {
|
|
|
|
}
|
|
|
|
|
|
|
|
//| <include path='docs/doc[@for="IndexOutOfRangeException.IndexOutOfRangeException1"]/*' />
|
|
|
|
public IndexOutOfRangeException(String message)
|
|
|
|
: base(message) {
|
|
|
|
}
|
|
|
|
|
|
|
|
//| <include path='docs/doc[@for="IndexOutOfRangeException.IndexOutOfRangeException2"]/*' />
|
|
|
|
public IndexOutOfRangeException(String message, Exception innerException)
|
|
|
|
: base(message, innerException) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|