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
- TabRenderer.cs
- HttpRuntimeSection.cs
- CompoundFileStreamReference.cs
- ValidatorUtils.cs
- XmlDomTextWriter.cs
- GraphicsPath.cs
- VisualStyleElement.cs
- RadioButtonList.cs
- WindowsSspiNegotiation.cs
- WebConfigurationManager.cs
- unitconverter.cs
- StateItem.cs
- RsaSecurityToken.cs
- StreamInfo.cs
- WebPartChrome.cs
- FileAuthorizationModule.cs
- CqlParserHelpers.cs
- WebControl.cs
- WeakKeyDictionary.cs
- XmlWellformedWriter.cs
- StringSorter.cs
- MessageEventSubscriptionService.cs
- securestring.cs
- CapabilitiesSection.cs
- XmlUnspecifiedAttribute.cs
- _AutoWebProxyScriptEngine.cs
- cookieexception.cs
- BoundsDrawingContextWalker.cs
- WindowsPen.cs
- LongValidator.cs
- Rule.cs
- ClientCultureInfo.cs
- SslStream.cs
- DataListCommandEventArgs.cs
- ApplicationSettingsBase.cs
- ActivationServices.cs
- TextServicesCompartment.cs
- BrowsableAttribute.cs
- ObjectSelectorEditor.cs
- RSAOAEPKeyExchangeFormatter.cs
- SingleObjectCollection.cs
- HttpRawResponse.cs
- SecurityChannelFactory.cs
- ValueOfAction.cs
- TreeNodeCollectionEditor.cs
- ImageAutomationPeer.cs
- MD5HashHelper.cs
- HttpRuntime.cs
- SortQueryOperator.cs
- XmlComplianceUtil.cs
- TextViewElement.cs
- UIElement3DAutomationPeer.cs
- RunWorkerCompletedEventArgs.cs
- DataTableMapping.cs
- SqlDataSourceStatusEventArgs.cs
- path.cs
- RawStylusSystemGestureInputReport.cs
- PolyBezierSegmentFigureLogic.cs
- BitmapEffect.cs
- QueryableDataSource.cs
- MailWebEventProvider.cs
- SystemFonts.cs
- PassportAuthentication.cs
- ExceptionUtil.cs
- LocalBuilder.cs
- TableItemStyle.cs
- DefaultAsyncDataDispatcher.cs
- Int16KeyFrameCollection.cs
- SimpleWebHandlerParser.cs
- BasicKeyConstraint.cs
- MaskInputRejectedEventArgs.cs
- EmbeddedMailObject.cs
- ActiveDesignSurfaceEvent.cs
- Application.cs
- XmlDomTextWriter.cs
- SymbolUsageManager.cs
- CompilationAssemblyInstallComponent.cs
- MiniParameterInfo.cs
- MenuTracker.cs
- ParameterCollectionEditorForm.cs
- EdmType.cs
- BitStream.cs
- SchemaElementLookUpTable.cs
- AppSettingsExpressionBuilder.cs
- SettingsProperty.cs
- MenuCommand.cs
- ErrorRuntimeConfig.cs
- OdbcConnectionPoolProviderInfo.cs
- SqlStatistics.cs
- Rule.cs
- ApplicationSecurityInfo.cs
- Literal.cs
- DesignerActionUIService.cs
- Select.cs
- CodeDomConfigurationHandler.cs
- ProtocolsConfigurationEntry.cs
- SqlDependency.cs
- FrameSecurityDescriptor.cs
- EntryPointNotFoundException.cs
- ContentPathSegment.cs