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
- DecoderFallback.cs
- ProcessStartInfo.cs
- SchemaAttDef.cs
- DataGrid.cs
- ReadWriteSpinLock.cs
- LineBreak.cs
- ServiceThrottle.cs
- ArraySet.cs
- EntityDesignerBuildProvider.cs
- GeneralTransformCollection.cs
- Application.cs
- Mutex.cs
- DataObjectCopyingEventArgs.cs
- SerialPinChanges.cs
- XmlArrayAttribute.cs
- ValuePatternIdentifiers.cs
- URI.cs
- UriParserTemplates.cs
- SQLDecimal.cs
- InkCanvasFeedbackAdorner.cs
- DynamicValidatorEventArgs.cs
- SQLSingle.cs
- followingquery.cs
- ADRoleFactoryConfiguration.cs
- SecurityCookieModeValidator.cs
- XPathDocumentIterator.cs
- CompensatableSequenceActivity.cs
- BuildProviderCollection.cs
- CodeSnippetTypeMember.cs
- MenuItem.cs
- VersionedStreamOwner.cs
- Span.cs
- TargetParameterCountException.cs
- _ProxyRegBlob.cs
- CodeExporter.cs
- Point.cs
- StaticExtensionConverter.cs
- AssemblyResourceLoader.cs
- DbMetaDataFactory.cs
- EndpointAddressMessageFilterTable.cs
- ScrollBarAutomationPeer.cs
- PixelFormat.cs
- GridViewRowEventArgs.cs
- Cursors.cs
- ValidationSummaryDesigner.cs
- XmlDictionaryWriter.cs
- ErrorHandler.cs
- CatalogPart.cs
- HealthMonitoringSectionHelper.cs
- RequestNavigateEventArgs.cs
- MessageAction.cs
- ChangeBlockUndoRecord.cs
- PropertyManager.cs
- ListViewInsertedEventArgs.cs
- ProxyHelper.cs
- ChooseAction.cs
- XmlILModule.cs
- PointAnimationUsingKeyFrames.cs
- ChtmlPhoneCallAdapter.cs
- X509ScopedServiceCertificateElementCollection.cs
- Converter.cs
- InstanceNormalEvent.cs
- PrintPreviewGraphics.cs
- Simplifier.cs
- AdornerHitTestResult.cs
- ColumnTypeConverter.cs
- FileDataSourceCache.cs
- TextReader.cs
- SqlProfileProvider.cs
- SynchronizationContextHelper.cs
- DeleteStoreRequest.cs
- EntityEntry.cs
- SecurityHeader.cs
- ThrowHelper.cs
- ThreadExceptionDialog.cs
- SystemIcmpV4Statistics.cs
- ScriptReferenceEventArgs.cs
- TextEditor.cs
- IChannel.cs
- NotifyIcon.cs
- FormViewModeEventArgs.cs
- ImplicitInputBrush.cs
- RepeatBehavior.cs
- ActivityLocationReferenceEnvironment.cs
- GenericQueueSurrogate.cs
- _ConnectionGroup.cs
- HttpListenerResponse.cs
- ToolStripItemDesigner.cs
- ConfigurationFileMap.cs
- WebPartCloseVerb.cs
- StickyNoteHelper.cs
- SplashScreen.cs
- PolicyUnit.cs
- HttpServerChannel.cs
- TrackingServices.cs
- HttpClientCertificate.cs
- SqlUdtInfo.cs
- XmlSchemaComplexContentExtension.cs
- Input.cs
- MediaEntryAttribute.cs