45 lines
2.5 KiB
C#
45 lines
2.5 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when the execution stack overflows because it contains too many nested method calls. This class cannot be inherited.</summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x020006A6 RID: 1702
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class StackOverflowException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.StackOverflowException" /> class, setting the <see cref="P:System.Exception.Message" /> property of the new instance to a system-supplied message that describes the error, such as "The requested operation caused a stack overflow." This message takes into account the current system culture.</summary>
|
|
// Token: 0x06004086 RID: 16518 RVA: 0x000DBDEC File Offset: 0x000D9FEC
|
|
public StackOverflowException()
|
|
: base(Locale.GetText("The requested operation caused a stack overflow."))
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.StackOverflowException" /> class with a specified error message.</summary>
|
|
/// <param name="message">A <see cref="T:System.String" /> that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
|
|
// Token: 0x06004087 RID: 16519 RVA: 0x000DBE00 File Offset: 0x000DA000
|
|
public StackOverflowException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.StackOverflowException" /> 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 error message that explains the reason for the exception. </param>
|
|
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. </param>
|
|
// Token: 0x06004088 RID: 16520 RVA: 0x000DBE0C File Offset: 0x000DA00C
|
|
public StackOverflowException(string message, Exception innerException)
|
|
: base(message, innerException)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06004089 RID: 16521 RVA: 0x000DBE18 File Offset: 0x000DA018
|
|
internal StackOverflowException(SerializationInfo info, StreamingContext context)
|
|
: base(info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|