Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / OverflowException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- EmissiveMaterial.cs
- OpCopier.cs
- GetImportFileNameRequest.cs
- ValidationSummary.cs
- SmiConnection.cs
- TrustSection.cs
- DSASignatureDeformatter.cs
- GenericAuthenticationEventArgs.cs
- ScriptingWebServicesSectionGroup.cs
- WebContext.cs
- HttpsTransportElement.cs
- SqlCacheDependencySection.cs
- PropagatorResult.cs
- ToolboxControl.cs
- EventManager.cs
- StylusCollection.cs
- TextServicesCompartmentContext.cs
- ImageList.cs
- input.cs
- TextTreeTextNode.cs
- Optimizer.cs
- ButtonStandardAdapter.cs
- ServicesUtilities.cs
- GenericWebPart.cs
- ControlUtil.cs
- StorageRoot.cs
- ProvidePropertyAttribute.cs
- Switch.cs
- LinkConverter.cs
- PackagingUtilities.cs
- PropertyItemInternal.cs
- ExtensionSimplifierMarkupObject.cs
- NavigatorInput.cs
- SqlMethodCallConverter.cs
- RegistryDataKey.cs
- XamlPathDataSerializer.cs
- BindingNavigator.cs
- AppDomainUnloadedException.cs
- EntityContainerEmitter.cs
- StretchValidation.cs
- RegexParser.cs
- ApplicationException.cs
- Marshal.cs
- ScrollChrome.cs
- RoutedPropertyChangedEventArgs.cs
- GetCryptoTransformRequest.cs
- _ConnectOverlappedAsyncResult.cs
- ZipIOExtraFieldElement.cs
- DateTimeOffsetStorage.cs
- validation.cs
- BrowserTree.cs
- ErrorWrapper.cs
- IconBitmapDecoder.cs
- TextFormatterImp.cs
- datacache.cs
- QilReference.cs
- DocumentGridPage.cs
- TimeSpanConverter.cs
- BackoffTimeoutHelper.cs
- OptimalBreakSession.cs
- ResourceKey.cs
- Constants.cs
- ActivityInstance.cs
- Catch.cs
- _NegoState.cs
- DeferredElementTreeState.cs
- IODescriptionAttribute.cs
- HtmlTitle.cs
- TaskFileService.cs
- BufferCache.cs
- BaseComponentEditor.cs
- _ScatterGatherBuffers.cs
- JournalEntryStack.cs
- XDeferredAxisSource.cs
- EventLogStatus.cs
- FieldBuilder.cs
- DeploymentSection.cs
- HttpCachePolicyElement.cs
- EventHandlerList.cs
- FixUpCollection.cs
- ScrollItemPatternIdentifiers.cs
- Control.cs
- GenericTypeParameterBuilder.cs
- RecognizerInfo.cs
- mediaclock.cs
- TextBoxRenderer.cs
- EventSetter.cs
- SqlClientWrapperSmiStreamChars.cs
- Part.cs
- ResXBuildProvider.cs
- InkPresenter.cs
- XmlDataSource.cs
- SynchronizedMessageSource.cs
- CodeGotoStatement.cs
- TypeConverter.cs
- SingleObjectCollection.cs
- MatrixAnimationUsingPath.cs
- ContentHostHelper.cs
- IApplicationTrustManager.cs
- SynchronizedCollection.cs