Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / ArithmeticException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated protected ArithmeticException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlConverter.cs
- RuleSetReference.cs
- ObjectListCommandCollection.cs
- DesignerView.cs
- DataSourceProvider.cs
- MenuAutoFormat.cs
- SessionIDManager.cs
- Lease.cs
- InputMethodStateTypeInfo.cs
- ProviderConnectionPointCollection.cs
- XmlArrayItemAttribute.cs
- MaterialGroup.cs
- DATA_BLOB.cs
- EventMappingSettings.cs
- WorkflowElementDialog.cs
- TypeResolvingOptionsAttribute.cs
- ConfigurationProviderException.cs
- ExclusiveHandle.cs
- DataBindingHandlerAttribute.cs
- FileReservationCollection.cs
- SystemInformation.cs
- TypeToken.cs
- XDRSchema.cs
- SourceFilter.cs
- DataBindingCollection.cs
- LicFileLicenseProvider.cs
- HttpApplicationFactory.cs
- WebPartAddingEventArgs.cs
- TextTreeText.cs
- IBuiltInEvidence.cs
- TextRangeSerialization.cs
- PrivilegedConfigurationManager.cs
- InvalidDataException.cs
- XmlSchemaDocumentation.cs
- EventMap.cs
- RegistryExceptionHelper.cs
- LogicalTreeHelper.cs
- baseshape.cs
- GenericWebPart.cs
- CompilerScope.cs
- AliasExpr.cs
- Renderer.cs
- ConfigurationCollectionAttribute.cs
- XmlBindingWorker.cs
- ByteArrayHelperWithString.cs
- SharedTcpTransportManager.cs
- MouseGestureConverter.cs
- DoubleAnimationUsingKeyFrames.cs
- SchemaMapping.cs
- InProcStateClientManager.cs
- CodeEntryPointMethod.cs
- TraceHandler.cs
- ListSortDescription.cs
- NewArray.cs
- XDRSchema.cs
- BoundColumn.cs
- ClientSettingsProvider.cs
- DataPointer.cs
- GPStream.cs
- FormViewPageEventArgs.cs
- DatagridviewDisplayedBandsData.cs
- NonVisualControlAttribute.cs
- HtmlContainerControl.cs
- CallSiteOps.cs
- IntersectQueryOperator.cs
- DataRowExtensions.cs
- StackBuilderSink.cs
- FullTextLine.cs
- DateRangeEvent.cs
- HtmlInputText.cs
- LinkClickEvent.cs
- ResetableIterator.cs
- DataViewSetting.cs
- ToolboxSnapDragDropEventArgs.cs
- XsdDuration.cs
- CssStyleCollection.cs
- XmlSchemaFacet.cs
- D3DImage.cs
- PerfCounterSection.cs
- HtmlInputButton.cs
- QuaternionAnimation.cs
- DtrList.cs
- SortedSetDebugView.cs
- WorkflowInstanceContextProvider.cs
- SrgsDocumentParser.cs
- SiteMapNode.cs
- LayoutSettings.cs
- SubtreeProcessor.cs
- SqlGatherConsumedAliases.cs
- ToolStripDropDown.cs
- OleDbException.cs
- ConnectionString.cs
- CustomGrammar.cs
- RadioButtonRenderer.cs
- ImageCreator.cs
- Symbol.cs
- XmlObjectSerializerWriteContextComplex.cs
- DESCryptoServiceProvider.cs
- SqlVersion.cs
- ConfigurationException.cs