using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// The exception that is thrown for errors in an arithmetic, casting, or conversion operation.
/// 2
// Token: 0x0200063A RID: 1594
[ComVisible(true)]
[Serializable]
public class ArithmeticException : SystemException
{
/// Initializes a new instance of the class.
// Token: 0x06003B24 RID: 15140 RVA: 0x000C9B4C File Offset: 0x000C7D4C
public ArithmeticException()
: base(Locale.GetText("Overflow or underflow in the arithmetic operation."))
{
base.HResult = -2147024362;
}
/// Initializes a new instance of the class with a specified error message.
/// A that describes the error.
// Token: 0x06003B25 RID: 15141 RVA: 0x000C9B6C File Offset: 0x000C7D6C
public ArithmeticException(string message)
: base(message)
{
base.HResult = -2147024362;
}
/// 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, the current exception is raised in a catch block that handles the inner exception.
// Token: 0x06003B26 RID: 15142 RVA: 0x000C9B80 File Offset: 0x000C7D80
public ArithmeticException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2147024362;
}
/// 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: 0x06003B27 RID: 15143 RVA: 0x000C9B98 File Offset: 0x000C7D98
protected ArithmeticException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x040017A6 RID: 6054
private const int Result = -2147024362;
}
}