using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow.
/// 2
// Token: 0x0200069E RID: 1694
[ComVisible(true)]
[Serializable]
public class OverflowException : ArithmeticException
{
/// Initializes a new instance of the class.
// Token: 0x06004064 RID: 16484 RVA: 0x000DB8D4 File Offset: 0x000D9AD4
public OverflowException()
: base(Locale.GetText("Number overflow."))
{
base.HResult = -2146233066;
}
/// Initializes a new instance of the class with a specified error message.
/// The message that describes the error.
// Token: 0x06004065 RID: 16485 RVA: 0x000DB8F4 File Offset: 0x000D9AF4
public OverflowException(string message)
: base(message)
{
base.HResult = -2146233066;
}
/// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
/// The error message that explains the reason for the exception.
/// The exception that is the cause of the current exception. If the parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
// Token: 0x06004066 RID: 16486 RVA: 0x000DB908 File Offset: 0x000D9B08
public OverflowException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2146233066;
}
/// Initializes a new instance of the class with serialized data.
/// The object that holds the serialized object data.
/// The contextual information about the source or destination.
// Token: 0x06004067 RID: 16487 RVA: 0x000DB920 File Offset: 0x000D9B20
protected OverflowException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x04001996 RID: 6550
private const int Result = -2146233066;
}
}