Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / OverflowException.cs / 1 / OverflowException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: OverflowException ** ** ** Purpose: Exception class for Arthimatic Overflows. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class OverflowException : ArithmeticException { public OverflowException() : base(Environment.GetResourceString("Arg_OverflowException")) { SetErrorCode(__HResults.COR_E_OVERFLOW); } public OverflowException(String message) : base(message) { SetErrorCode(__HResults.COR_E_OVERFLOW); } public OverflowException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_OVERFLOW); } protected OverflowException(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. // // ==--== /*============================================================================== ** ** Class: OverflowException ** ** ** Purpose: Exception class for Arthimatic Overflows. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class OverflowException : ArithmeticException { public OverflowException() : base(Environment.GetResourceString("Arg_OverflowException")) { SetErrorCode(__HResults.COR_E_OVERFLOW); } public OverflowException(String message) : base(message) { SetErrorCode(__HResults.COR_E_OVERFLOW); } public OverflowException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_OVERFLOW); } protected OverflowException(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
- TextViewSelectionProcessor.cs
- ChainedAsyncResult.cs
- Identity.cs
- InputReport.cs
- BrowsableAttribute.cs
- StaticResourceExtension.cs
- SafeCoTaskMem.cs
- MediaElementAutomationPeer.cs
- MsmqChannelFactory.cs
- httpapplicationstate.cs
- _FtpControlStream.cs
- Semaphore.cs
- GAC.cs
- RegexRunner.cs
- ChtmlTextWriter.cs
- SupportsEventValidationAttribute.cs
- AccessDataSource.cs
- DelegatingTypeDescriptionProvider.cs
- ValidationRule.cs
- ServiceDiscoveryElement.cs
- OuterGlowBitmapEffect.cs
- DrawingBrush.cs
- SapiGrammar.cs
- DataGridViewBand.cs
- EditorBrowsableAttribute.cs
- AlternateView.cs
- initElementDictionary.cs
- ArrayTypeMismatchException.cs
- InspectionWorker.cs
- ClockController.cs
- XmlLanguageConverter.cs
- NetCodeGroup.cs
- WpfWebRequestHelper.cs
- PersonalizationDictionary.cs
- PasswordBoxAutomationPeer.cs
- AdRotator.cs
- VirtualDirectoryMappingCollection.cs
- CqlErrorHelper.cs
- QuaternionConverter.cs
- EntityDataSourceViewSchema.cs
- PathTooLongException.cs
- TextBlockAutomationPeer.cs
- InternalBufferOverflowException.cs
- LockCookie.cs
- InternalRelationshipCollection.cs
- PipelineDeploymentState.cs
- _OSSOCK.cs
- DataGridViewCellValueEventArgs.cs
- ButtonFieldBase.cs
- HWStack.cs
- AlphabetConverter.cs
- FontFamilyConverter.cs
- DataKeyArray.cs
- Preprocessor.cs
- WebUtil.cs
- PageContent.cs
- GetIndexBinder.cs
- ArraySortHelper.cs
- HostingEnvironmentWrapper.cs
- ExecutionEngineException.cs
- OperationAbortedException.cs
- SafeBitVector32.cs
- linebase.cs
- LocalizableResourceBuilder.cs
- TranslateTransform3D.cs
- Compiler.cs
- TreeBuilderBamlTranslator.cs
- XmlSchemaProviderAttribute.cs
- RemoteArgument.cs
- ConnectionInterfaceCollection.cs
- OperationAbortedException.cs
- DebugInfo.cs
- Matrix3D.cs
- SqlDataAdapter.cs
- XmlHierarchicalEnumerable.cs
- ChtmlFormAdapter.cs
- Configuration.cs
- IDQuery.cs
- DBNull.cs
- ToolTipAutomationPeer.cs
- ToolZone.cs
- Literal.cs
- DateTimeEditor.cs
- ApplicationBuildProvider.cs
- ImageList.cs
- FastEncoder.cs
- DocumentOutline.cs
- GeneralTransform3DGroup.cs
- PagePropertiesChangingEventArgs.cs
- KeyValuePairs.cs
- QilLiteral.cs
- BuildManager.cs
- DesignerDataSourceView.cs
- XslVisitor.cs
- SoapInteropTypes.cs
- SchemaEntity.cs
- ScriptMethodAttribute.cs
- DefaultPrintController.cs
- ActivationService.cs
- CallbackTimeoutsElement.cs