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
- RegexWorker.cs
- Crc32Helper.cs
- _PooledStream.cs
- Mutex.cs
- HandlerBase.cs
- AdvancedBindingPropertyDescriptor.cs
- CryptoApi.cs
- FileSystemWatcher.cs
- webeventbuffer.cs
- ValueQuery.cs
- CommonProperties.cs
- PropertyMapper.cs
- NamespaceCollection.cs
- ObjectPersistData.cs
- coordinatorscratchpad.cs
- HybridObjectCache.cs
- AnnotationResourceChangedEventArgs.cs
- ToolStripMenuItemCodeDomSerializer.cs
- ServicePointManagerElement.cs
- WebControl.cs
- MLangCodePageEncoding.cs
- TiffBitmapEncoder.cs
- AsyncPostBackTrigger.cs
- LogicalTreeHelper.cs
- StrokeNodeOperations.cs
- DbProviderFactory.cs
- SqlRowUpdatingEvent.cs
- FixedSOMLineCollection.cs
- CompositeCollection.cs
- HttpContext.cs
- UnauthorizedWebPart.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- EntitySetBaseCollection.cs
- MaskedTextBoxTextEditor.cs
- CustomAttributeSerializer.cs
- DbConnectionClosed.cs
- SerializableTypeCodeDomSerializer.cs
- JavaScriptSerializer.cs
- InputGestureCollection.cs
- PageHandlerFactory.cs
- ListViewUpdatedEventArgs.cs
- LineServicesRun.cs
- GenerateScriptTypeAttribute.cs
- HttpApplicationFactory.cs
- XmlCustomFormatter.cs
- TabPanel.cs
- XmlCharCheckingWriter.cs
- Point4D.cs
- ObjectConverter.cs
- DecimalStorage.cs
- OleTxTransaction.cs
- FillRuleValidation.cs
- CompositionAdorner.cs
- RegisteredScript.cs
- _AcceptOverlappedAsyncResult.cs
- PlanCompiler.cs
- UnsafeCollabNativeMethods.cs
- BaseTemplateParser.cs
- IQueryable.cs
- TransformCollection.cs
- BrowserCapabilitiesFactoryBase.cs
- DescendentsWalkerBase.cs
- SQLCharsStorage.cs
- CacheRequest.cs
- TakeOrSkipQueryOperator.cs
- SoapClientMessage.cs
- KeyProperty.cs
- EndpointAddressAugust2004.cs
- CollectionType.cs
- ManagedFilter.cs
- HtmlTableRowCollection.cs
- OleDbConnectionFactory.cs
- ConnectionStringSettingsCollection.cs
- UmAlQuraCalendar.cs
- HttpValueCollection.cs
- ReferenceService.cs
- FormattedText.cs
- CharKeyFrameCollection.cs
- JulianCalendar.cs
- RenamedEventArgs.cs
- COM2ExtendedUITypeEditor.cs
- EventHandlerService.cs
- SamlSubjectStatement.cs
- Stackframe.cs
- ChangePassword.cs
- ValidationResult.cs
- CssTextWriter.cs
- input.cs
- WebPartDisplayMode.cs
- MemoryMappedViewStream.cs
- TemplateBindingExpression.cs
- CategoryGridEntry.cs
- ComponentGuaranteesAttribute.cs
- SmtpException.cs
- HttpStaticObjectsCollectionWrapper.cs
- ZipIOLocalFileHeader.cs
- AliasedSlot.cs
- PtsPage.cs
- TextEmbeddedObject.cs
- MessageBox.cs