35 lines
2.0 KiB
C#
35 lines
2.0 KiB
C#
using System;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when a check for sufficient available memory fails. This class cannot be inherited.</summary>
|
|
// Token: 0x02000679 RID: 1657
|
|
[Serializable]
|
|
public sealed class InsufficientMemoryException : OutOfMemoryException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.InsufficientMemoryException" /> class with a system-supplied message that describes the error.</summary>
|
|
// Token: 0x06003EE2 RID: 16098 RVA: 0x000D510C File Offset: 0x000D330C
|
|
public InsufficientMemoryException()
|
|
: base("Insufficient memory")
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.InsufficientMemoryException" /> class with a specified message that describes the error.</summary>
|
|
/// <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
|
// Token: 0x06003EE3 RID: 16099 RVA: 0x000D511C File Offset: 0x000D331C
|
|
public InsufficientMemoryException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.InsufficientMemoryException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
|
|
/// <param name="message">The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
|
|
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
|
|
// Token: 0x06003EE4 RID: 16100 RVA: 0x000D5128 File Offset: 0x000D3328
|
|
public InsufficientMemoryException(string message, Exception innerException)
|
|
: base(message, innerException)
|
|
{
|
|
}
|
|
}
|
|
}
|