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
- ProgramPublisher.cs
- NotifyInputEventArgs.cs
- CodeConditionStatement.cs
- WorkflowServiceOperationListItem.cs
- TextHintingModeValidation.cs
- FieldNameLookup.cs
- WsatRegistrationHeader.cs
- SplitterDesigner.cs
- StaticTextPointer.cs
- NotificationContext.cs
- Propagator.ExtentPlaceholderCreator.cs
- DataKeyArray.cs
- SqlReferenceCollection.cs
- XmlSchemaObjectCollection.cs
- FrameworkTextComposition.cs
- CompositeScriptReference.cs
- StorageMappingFragment.cs
- MaterializeFromAtom.cs
- DataGridViewDataErrorEventArgs.cs
- NetworkInterface.cs
- SingleResultAttribute.cs
- ToolboxService.cs
- DataListItem.cs
- ImageSourceConverter.cs
- WorkflowViewElement.cs
- QuestionEventArgs.cs
- ReaderWriterLockWrapper.cs
- ProcessHostMapPath.cs
- PingReply.cs
- DetailsViewRow.cs
- ProxyGenerationError.cs
- EventArgs.cs
- Row.cs
- Int16KeyFrameCollection.cs
- ProxyManager.cs
- BasicAsyncResult.cs
- ColorTransformHelper.cs
- InplaceBitmapMetadataWriter.cs
- tibetanshape.cs
- FrameAutomationPeer.cs
- SQLMembershipProvider.cs
- WebEvents.cs
- EntityViewGenerationAttribute.cs
- XmlSigningNodeWriter.cs
- OperatorExpressions.cs
- GPRECT.cs
- TraceContextEventArgs.cs
- SerialPort.cs
- ToolStripDropDownMenu.cs
- QuaternionRotation3D.cs
- HttpHandlerActionCollection.cs
- TextEditor.cs
- Privilege.cs
- SqlEnums.cs
- ConfigUtil.cs
- HyperLink.cs
- ObjectTag.cs
- TextTreeUndoUnit.cs
- EventMappingSettingsCollection.cs
- CodeValidator.cs
- SmtpTransport.cs
- RequiredFieldValidator.cs
- Style.cs
- messageonlyhwndwrapper.cs
- Interlocked.cs
- SmiXetterAccessMap.cs
- Int16AnimationUsingKeyFrames.cs
- XmlAnyAttributeAttribute.cs
- MailSettingsSection.cs
- XmlArrayItemAttributes.cs
- CacheSection.cs
- ComponentSerializationService.cs
- BitArray.cs
- TypeForwardedToAttribute.cs
- RelationshipDetailsRow.cs
- ValidatorUtils.cs
- XPathNodePointer.cs
- DefaultProxySection.cs
- TraceSource.cs
- RoleManagerEventArgs.cs
- util.cs
- SecurityCriticalDataForSet.cs
- Int32CAMarshaler.cs
- ETagAttribute.cs
- PropertyDescriptorCollection.cs
- HybridObjectCache.cs
- PackageRelationship.cs
- XamlTemplateSerializer.cs
- EntityProviderServices.cs
- BamlRecordReader.cs
- ActivityCollectionMarkupSerializer.cs
- ErasingStroke.cs
- FixedSOMPageElement.cs
- WizardStepBase.cs
- NullableFloatAverageAggregationOperator.cs
- WebBrowserEvent.cs
- SessionPageStatePersister.cs
- TimeSpanConverter.cs
- WindowsStatic.cs
- TransformationRules.cs