2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
2008-11-17 18:29:00 -05:00
|
|
|
//=============================================================================
|
|
|
|
//
|
|
|
|
// Class: DivideByZeroException
|
|
|
|
//
|
|
|
|
// Purpose: Exception class for bad arithmetic conditions!
|
|
|
|
//
|
|
|
|
//=============================================================================
|
2008-03-05 09:52:00 -05:00
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
namespace System
|
|
|
|
{
|
2008-03-05 09:52:00 -05:00
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
[AccessedByRuntime("referenced from halasm.asm")]
|
2008-03-05 09:52:00 -05:00
|
|
|
//| <include path='docs/doc[@for="DivideByZeroException"]/*' />
|
2008-11-17 18:29:00 -05:00
|
|
|
public partial class DivideByZeroException : ArithmeticException {
|
2008-03-05 09:52:00 -05:00
|
|
|
//| <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) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|