ArithmeticException Class
Assembly: mscorlib (in mscorlib.dll)
[SerializableAttribute] [ComVisibleAttribute(true)] public class ArithmeticException : SystemException
/** @attribute SerializableAttribute() */ /** @attribute ComVisibleAttribute(true) */ public class ArithmeticException extends SystemException
SerializableAttribute ComVisibleAttribute(true) public class ArithmeticException extends SystemException
ArithmeticException is the base class for DivideByZeroException, NotFiniteNumberException, and OverflowException. In general, use one of the derived classes of ArithmeticException to more precisely indicate the exact nature of the error. Throw an ArithmeticException if you are only interested in capturing a general arithmetic error.
ArithmeticException uses the HRESULT COR_E_ARITHMETIC, which has the value 0x80070216.
For a list of initial property values for an instance of ArithmeticException, see the ArithmeticException constructors.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Reference
ArithmeticException MembersSystem Namespace
Exception