singrdk/base/Kernel/System/OverflowException.cs

42 lines
1.3 KiB
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// 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) {
}
}
}