2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
2008-11-17 18:29:00 -05:00
|
|
|
//=============================================================================
|
|
|
|
//
|
|
|
|
// Class: OutOfMemoryException
|
|
|
|
//
|
|
|
|
// Purpose: The exception class for OOM.
|
|
|
|
//
|
|
|
|
//=============================================================================
|
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="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) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|