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
- PathFigureCollection.cs
- WeakReferenceKey.cs
- indexingfiltermarshaler.cs
- ToolboxDataAttribute.cs
- SchemaMapping.cs
- UnsupportedPolicyOptionsException.cs
- Matrix.cs
- Int64AnimationUsingKeyFrames.cs
- InkCanvasSelection.cs
- XPathNavigatorKeyComparer.cs
- ResourceCategoryAttribute.cs
- GraphicsPathIterator.cs
- ResourceAssociationSetEnd.cs
- ZipIOCentralDirectoryBlock.cs
- TextWriterTraceListener.cs
- XslNumber.cs
- RefExpr.cs
- Trigger.cs
- IDataContractSurrogate.cs
- EdmToObjectNamespaceMap.cs
- HwndTarget.cs
- PasswordRecoveryDesigner.cs
- QuaternionRotation3D.cs
- TableMethodGenerator.cs
- XmlObjectSerializerReadContextComplexJson.cs
- querybuilder.cs
- ChangeConflicts.cs
- RayHitTestParameters.cs
- DoubleStorage.cs
- dsa.cs
- HttpGetServerProtocol.cs
- EventRecord.cs
- SystemFonts.cs
- LineGeometry.cs
- ResourceDictionary.cs
- ObjectReferenceStack.cs
- TextSegment.cs
- SqlUserDefinedAggregateAttribute.cs
- PropertyInformation.cs
- NamedPipeTransportManager.cs
- DeviceContext.cs
- CommandField.cs
- AnnouncementEndpoint.cs
- EdmRelationshipRoleAttribute.cs
- TagPrefixAttribute.cs
- SizeAnimationClockResource.cs
- Enumerable.cs
- PageBuildProvider.cs
- CheckBoxFlatAdapter.cs
- ComponentRenameEvent.cs
- PeerNameResolver.cs
- DoubleUtil.cs
- ModelItemImpl.cs
- TagPrefixAttribute.cs
- AutoCompleteStringCollection.cs
- dsa.cs
- PolicyValidationException.cs
- MergablePropertyAttribute.cs
- Stylesheet.cs
- InputReferenceExpression.cs
- Events.cs
- InheritablePropertyChangeInfo.cs
- ConfigurationSectionCollection.cs
- TemplateParser.cs
- LinqDataSourceDisposeEventArgs.cs
- IdentifierService.cs
- CqlParser.cs
- HyperLinkStyle.cs
- XmlILConstructAnalyzer.cs
- SpecularMaterial.cs
- DateTimePicker.cs
- MultiByteCodec.cs
- RegexParser.cs
- ExtendLockAsyncResult.cs
- FilteredSchemaElementLookUpTable.cs
- Reference.cs
- InstanceLockException.cs
- ObsoleteAttribute.cs
- SafePipeHandle.cs
- WebSysDescriptionAttribute.cs
- SqlParameterCollection.cs
- Int16.cs
- AnonymousIdentificationModule.cs
- Thickness.cs
- WorkflowInstance.cs
- PrintDialogException.cs
- XmlBinaryReader.cs
- HttpFileCollectionBase.cs
- GAC.cs
- TraceHandlerErrorFormatter.cs
- TextContainerHelper.cs
- RegexRunner.cs
- DataGridViewLinkColumn.cs
- XPathNodeInfoAtom.cs
- ZipIOLocalFileDataDescriptor.cs
- JobInputBins.cs
- SafeCryptContextHandle.cs
- EventWaitHandleSecurity.cs
- WebBrowserDocumentCompletedEventHandler.cs
- AspNetHostingPermission.cs