singrdk/base/Kernel/System/OutOfMemoryException.cs

40 lines
1.2 KiB
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: OutOfMemoryException
**
**
** Purpose: The exception class for OOM.
**
** Date: March 17, 1998
**
=============================================================================*/
namespace System {
using System;
using System.Runtime.CompilerServices;
//| <include path='docs/doc[@for="OutOfMemoryException"]/*' />
public class OutOfMemoryException : SystemException {
//| <include path='docs/doc[@for="OutOfMemoryException.OutOfMemoryException"]/*' />
public OutOfMemoryException()
: base("Arg_OutOfMemoryException") {
}
//| <include path='docs/doc[@for="OutOfMemoryException.OutOfMemoryException1"]/*' />
public OutOfMemoryException(String message)
: base(message) {
}
//| <include path='docs/doc[@for="OutOfMemoryException.OutOfMemoryException2"]/*' />
public OutOfMemoryException(String message, Exception innerException)
: base(message, innerException) {
}
}
}