This is the base class for all math- related exceptions. You can throw this class from your own code, but use a subclass (if one exists) that specifically addresses the type of error you have encountered . public class ArithmeticException : SystemException { // Public Constructors public ArithmeticException ( ); public ArithmeticException (string message ); public ArithmeticException (string message , Exception innerException ); // Protected Constructors protected ArithmeticException (System.Runtime.Serialization.SerializationInfo info , System.Runtime.Serialization.StreamingContext context ); } HierarchyObject Exception(System.Runtime.Serialization.ISerializable) SystemException ArithmeticException SubclassesDivideByZeroException , NotFiniteNumberException , OverflowException |