42 lines
1.3 KiB
C#
42 lines
1.3 KiB
C#
|
// ==++==
|
||
|
//
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
//
|
||
|
// ==--==
|
||
|
/*=============================================================================
|
||
|
**
|
||
|
** Class: OverflowException
|
||
|
**
|
||
|
**
|
||
|
** Purpose: Exception class for Arithmetic Overflows.
|
||
|
**
|
||
|
** Date: August 31, 1998
|
||
|
**
|
||
|
=============================================================================*/
|
||
|
|
||
|
namespace System {
|
||
|
|
||
|
using System;
|
||
|
using System.Runtime.CompilerServices;
|
||
|
|
||
|
//| <include path='docs/doc[@for="OverflowException"]/*' />
|
||
|
[RequiredByBartok]
|
||
|
public class OverflowException : ArithmeticException {
|
||
|
//| <include path='docs/doc[@for="OverflowException.OverflowException"]/*' />
|
||
|
[AccessedByRuntime("referenced from halasm.asm")]
|
||
|
public OverflowException()
|
||
|
: base("Arg_OverflowException") {
|
||
|
}
|
||
|
|
||
|
//| <include path='docs/doc[@for="OverflowException.OverflowException1"]/*' />
|
||
|
public OverflowException(String message)
|
||
|
: base(message) {
|
||
|
}
|
||
|
|
||
|
//| <include path='docs/doc[@for="OverflowException.OverflowException2"]/*' />
|
||
|
public OverflowException(String message, Exception innerException)
|
||
|
: base(message, innerException) {
|
||
|
}
|
||
|
}
|
||
|
}
|