40 lines
1.3 KiB
C#
40 lines
1.3 KiB
C#
// ==++==
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// ==--==
|
|
//=============================================================================
|
|
//
|
|
// Class: DivideByZeroException
|
|
//
|
|
// Purpose: Exception class for bad arithmetic conditions!
|
|
//
|
|
//=============================================================================
|
|
|
|
namespace System
|
|
{
|
|
|
|
using System;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
[AccessedByRuntime("referenced from halasm.asm")]
|
|
//| <include path='docs/doc[@for="DivideByZeroException"]/*' />
|
|
public partial class DivideByZeroException : ArithmeticException {
|
|
//| <include path='docs/doc[@for="DivideByZeroException.DivideByZeroException"]/*' />
|
|
[AccessedByRuntime("referenced from halasm.asm")]
|
|
public DivideByZeroException()
|
|
: base("Arg_DivideByZero") {
|
|
}
|
|
|
|
//| <include path='docs/doc[@for="DivideByZeroException.DivideByZeroException1"]/*' />
|
|
public DivideByZeroException(String message)
|
|
: base(message) {
|
|
}
|
|
|
|
//| <include path='docs/doc[@for="DivideByZeroException.DivideByZeroException2"]/*' />
|
|
public DivideByZeroException(String message, Exception innerException)
|
|
: base(message, innerException) {
|
|
}
|
|
}
|
|
}
|