using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// The exception that is thrown when there is an attempt to divide an integral or decimal value by zero.
/// 2
// Token: 0x0200065C RID: 1628
[ComVisible(true)]
[Serializable]
public class DivideByZeroException : ArithmeticException
{
/// Initializes a new instance of the class.
// Token: 0x06003E04 RID: 15876 RVA: 0x000D31F4 File Offset: 0x000D13F4
public DivideByZeroException()
: base(Locale.GetText("Division by zero"))
{
base.HResult = -2147352558;
}
/// Initializes a new instance of the class with a specified error message.
/// A that describes the error.
// Token: 0x06003E05 RID: 15877 RVA: 0x000D3214 File Offset: 0x000D1414
public DivideByZeroException(string message)
: base(message)
{
base.HResult = -2147352558;
}
/// 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: 0x06003E06 RID: 15878 RVA: 0x000D3228 File Offset: 0x000D1428
public DivideByZeroException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2147352558;
}
/// 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: 0x06003E07 RID: 15879 RVA: 0x000D3240 File Offset: 0x000D1440
protected DivideByZeroException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x040018CC RID: 6348
private const int Result = -2147352558;
}
}