Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / ArithmeticException.cs / 1 / ArithmeticException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: ArithmeticException ** ** ** Purpose: Exception class for bad arithmetic conditions! ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; // The ArithmeticException is thrown when overflow or underflow // occurs. // [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class ArithmeticException : SystemException { // Creates a new ArithmeticException with its message string set to // the empty string, its HRESULT set to COR_E_ARITHMETIC, // and its ExceptionInfo reference set to null. public ArithmeticException() : base(Environment.GetResourceString("Arg_ArithmeticException")) { SetErrorCode(__HResults.COR_E_ARITHMETIC); } // Creates a new ArithmeticException with its message string set to // message, its HRESULT set to COR_E_ARITHMETIC, // and its ExceptionInfo reference set to null. // public ArithmeticException(String message) : base(message) { SetErrorCode(__HResults.COR_E_ARITHMETIC); } public ArithmeticException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_ARITHMETIC); } protected ArithmeticException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RefreshEventArgs.cs
- JulianCalendar.cs
- UnsafeNativeMethods.cs
- OuterGlowBitmapEffect.cs
- DecodeHelper.cs
- MultipartContentParser.cs
- DocumentScope.cs
- DoubleConverter.cs
- BitmapEffectrendercontext.cs
- Effect.cs
- IntPtr.cs
- Unit.cs
- NetCodeGroup.cs
- DocumentPageViewAutomationPeer.cs
- PrintDialogDesigner.cs
- Vector.cs
- RemotingConfigParser.cs
- _ConnectOverlappedAsyncResult.cs
- DataGridTextBox.cs
- Walker.cs
- HttpCapabilitiesEvaluator.cs
- DbXmlEnabledProviderManifest.cs
- CfgRule.cs
- TransformValueSerializer.cs
- NextPreviousPagerField.cs
- EventSinkHelperWriter.cs
- TemplateApplicationHelper.cs
- RoutedEventValueSerializer.cs
- AnnotationAuthorChangedEventArgs.cs
- SRDisplayNameAttribute.cs
- LeafCellTreeNode.cs
- ProcessHostFactoryHelper.cs
- DataViewListener.cs
- AutomationProperties.cs
- VerificationException.cs
- DataBindingCollection.cs
- Rect3DConverter.cs
- HtmlTableCellCollection.cs
- LogicalMethodInfo.cs
- FileUtil.cs
- XmlCustomFormatter.cs
- EntityReference.cs
- MenuEventArgs.cs
- CodeCatchClause.cs
- DetailsViewPagerRow.cs
- ItemCollection.cs
- CompareValidator.cs
- XmlSchemas.cs
- DBCSCodePageEncoding.cs
- HtmlInputFile.cs
- future.cs
- ListSortDescription.cs
- ComboBoxItem.cs
- TraceHandlerErrorFormatter.cs
- LogLogRecord.cs
- CachedCompositeFamily.cs
- AssemblyBuilder.cs
- webeventbuffer.cs
- AsyncOperationContext.cs
- UniqueConstraint.cs
- NumberFormatter.cs
- IdentityManager.cs
- ByteStorage.cs
- mda.cs
- LOSFormatter.cs
- PeerDuplexChannelListener.cs
- ReadOnlyCollection.cs
- MarkupProperty.cs
- WindowsSolidBrush.cs
- TextServicesDisplayAttribute.cs
- InertiaExpansionBehavior.cs
- DbgUtil.cs
- GridViewCancelEditEventArgs.cs
- Math.cs
- MemberInfoSerializationHolder.cs
- DataShape.cs
- GridErrorDlg.cs
- XamlInt32CollectionSerializer.cs
- PopOutPanel.cs
- TextCompositionManager.cs
- NumericExpr.cs
- MenuItem.cs
- NamespaceDecl.cs
- SqlClientFactory.cs
- BevelBitmapEffect.cs
- EntityDataSourceSelectedEventArgs.cs
- XmlDocumentSerializer.cs
- SystemSounds.cs
- RtfToken.cs
- ShaperBuffers.cs
- ManageRequest.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- HorizontalAlignConverter.cs
- WebPartConnectionsCancelEventArgs.cs
- ExpressionBuilder.cs
- FontStretches.cs
- StateValidator.cs
- ObjectQueryExecutionPlan.cs
- X509Chain.cs
- XmlUnspecifiedAttribute.cs