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
- MappingItemCollection.cs
- DebugController.cs
- ListViewSortEventArgs.cs
- DataGridViewCellPaintingEventArgs.cs
- ServerValidateEventArgs.cs
- ErrorReporting.cs
- GridSplitter.cs
- WebBrowserHelper.cs
- MenuItemStyleCollection.cs
- WebMessageEncodingBindingElement.cs
- LogRestartAreaEnumerator.cs
- OracleNumber.cs
- ThemeInfoAttribute.cs
- IdentityNotMappedException.cs
- HistoryEventArgs.cs
- XMLSchema.cs
- ImageMapEventArgs.cs
- Trace.cs
- TdsParserSessionPool.cs
- CollectionChangedEventManager.cs
- MemoryFailPoint.cs
- DoubleLinkList.cs
- ThreadInterruptedException.cs
- WebBrowserDocumentCompletedEventHandler.cs
- EnumerableCollectionView.cs
- BidOverLoads.cs
- GeometryModel3D.cs
- Base64Decoder.cs
- SignatureSummaryDialog.cs
- SqlGenericUtil.cs
- QilTargetType.cs
- BindableAttribute.cs
- SemaphoreFullException.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- ImageMap.cs
- StdRegProviderWrapper.cs
- MetadataSource.cs
- ServerValidateEventArgs.cs
- MarkerProperties.cs
- COM2IProvidePropertyBuilderHandler.cs
- DataGridViewCellFormattingEventArgs.cs
- OleDbConnectionFactory.cs
- ContentType.cs
- SessionEndedEventArgs.cs
- SQLRoleProvider.cs
- NextPreviousPagerField.cs
- KeyConstraint.cs
- DataGridViewSortCompareEventArgs.cs
- ApplicationSecurityManager.cs
- LineServicesCallbacks.cs
- XmlSchema.cs
- SchemaElementLookUpTableEnumerator.cs
- CompareInfo.cs
- XPathEmptyIterator.cs
- GradientStop.cs
- MachinePropertyVariants.cs
- BitmapEffect.cs
- SqlBooleanizer.cs
- TranslateTransform3D.cs
- OrderByBuilder.cs
- DragEvent.cs
- XDeferredAxisSource.cs
- Emitter.cs
- PartialClassGenerationTask.cs
- AuthStoreRoleProvider.cs
- DeobfuscatingStream.cs
- DecoratedNameAttribute.cs
- ContentElement.cs
- XmlQueryType.cs
- ListControlConvertEventArgs.cs
- ObjectTokenCategory.cs
- WebPartUtil.cs
- StructuredTypeEmitter.cs
- OperandQuery.cs
- MenuItemStyle.cs
- SchemaImporterExtensionElement.cs
- OleDbError.cs
- ControlEvent.cs
- HttpApplication.cs
- SafeCryptHandles.cs
- BitmapFrameDecode.cs
- Transform3DCollection.cs
- ItemsChangedEventArgs.cs
- NamespaceList.cs
- ControlBuilderAttribute.cs
- HttpResponseHeader.cs
- TypeSource.cs
- OutputCacheProfile.cs
- RTLAwareMessageBox.cs
- EncryptedKeyIdentifierClause.cs
- ResourceReader.cs
- recordstatefactory.cs
- FlowDocumentView.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- safemediahandle.cs
- ManifestBasedResourceGroveler.cs
- SelectionRangeConverter.cs
- ListBase.cs
- OdbcHandle.cs
- DispatcherProcessingDisabled.cs