Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebCodeGenerator.cs
- FactoryGenerator.cs
- ProfileSettingsCollection.cs
- SoapAttributeOverrides.cs
- ToolboxDataAttribute.cs
- _TransmitFileOverlappedAsyncResult.cs
- ValidationHelper.cs
- ListItemViewControl.cs
- HostingEnvironmentSection.cs
- ProfileProvider.cs
- AnnotationDocumentPaginator.cs
- SemanticBasicElement.cs
- FileDetails.cs
- EntityDataSourceChangingEventArgs.cs
- WebProxyScriptElement.cs
- SystemInfo.cs
- NetNamedPipeBinding.cs
- CanExecuteRoutedEventArgs.cs
- SetIterators.cs
- DataException.cs
- SerializerProvider.cs
- ReflectEventDescriptor.cs
- TextSpanModifier.cs
- HtmlEncodedRawTextWriter.cs
- XsltLoader.cs
- HostingPreferredMapPath.cs
- CompilationRelaxations.cs
- FrameworkPropertyMetadata.cs
- CollectionBase.cs
- BufferedOutputStream.cs
- XPathDocumentNavigator.cs
- TableMethodGenerator.cs
- LabelDesigner.cs
- DataSourceXmlAttributeAttribute.cs
- TagMapCollection.cs
- SupportsPreviewControlAttribute.cs
- SerializationAttributes.cs
- RowBinding.cs
- externdll.cs
- XmlSortKey.cs
- AsyncResult.cs
- TypeInitializationException.cs
- GridViewRowCollection.cs
- WindowsUpDown.cs
- ControlCollection.cs
- ToolboxBitmapAttribute.cs
- ElementAction.cs
- StrokeCollectionConverter.cs
- WSFederationHttpSecurityMode.cs
- FileDataSource.cs
- ThreadExceptionEvent.cs
- XmlDeclaration.cs
- ObjectAssociationEndMapping.cs
- DesignerView.xaml.cs
- EntryPointNotFoundException.cs
- XmlJsonReader.cs
- shaperfactoryquerycachekey.cs
- EllipseGeometry.cs
- PathSegmentCollection.cs
- CellTreeNodeVisitors.cs
- BackStopAuthenticationModule.cs
- ImageClickEventArgs.cs
- DesignTimeTemplateParser.cs
- TreeNodeBindingCollection.cs
- InstanceDataCollection.cs
- TimeSpanValidatorAttribute.cs
- LambdaCompiler.Expressions.cs
- ComplusEndpointConfigContainer.cs
- CacheDependency.cs
- IgnoreDeviceFilterElement.cs
- ObjectView.cs
- InspectionWorker.cs
- DataGridBoolColumn.cs
- OdbcHandle.cs
- AuthorizationPolicyTypeElementCollection.cs
- ReadingWritingEntityEventArgs.cs
- FilteredReadOnlyMetadataCollection.cs
- AudioException.cs
- ThreadExceptionEvent.cs
- BulletedList.cs
- TrackingServices.cs
- Crc32.cs
- PriorityRange.cs
- Part.cs
- OleDbReferenceCollection.cs
- DetailsViewActionList.cs
- BasicDesignerLoader.cs
- CodeDomConfigurationHandler.cs
- EndpointAddress10.cs
- DataObjectAttribute.cs
- SqlWriter.cs
- Pens.cs
- ElapsedEventArgs.cs
- PropertyPathConverter.cs
- CompoundFileDeflateTransform.cs
- CacheChildrenQuery.cs
- ReflectTypeDescriptionProvider.cs
- TextTreeRootNode.cs
- EventLogPermission.cs
- PropertyPath.cs