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
- ManagedIStream.cs
- WebPartDisplayModeCancelEventArgs.cs
- WorkflowApplicationCompletedException.cs
- DivideByZeroException.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DocumentXPathNavigator.cs
- PassportAuthenticationModule.cs
- HtmlInputText.cs
- HttpWriter.cs
- SystemDiagnosticsSection.cs
- URLString.cs
- CacheRequest.cs
- XmlQueryType.cs
- EncryptedPackage.cs
- WindowsComboBox.cs
- FilteredDataSetHelper.cs
- MultipartContentParser.cs
- XmlWrappingWriter.cs
- Themes.cs
- SystemResources.cs
- InlineCollection.cs
- x509utils.cs
- DataGridViewCellMouseEventArgs.cs
- UInt16Storage.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ListViewInsertionMark.cs
- XamlReader.cs
- SharingService.cs
- ManagedFilter.cs
- WithParamAction.cs
- TabPanel.cs
- BulletChrome.cs
- ProfileBuildProvider.cs
- ComponentCodeDomSerializer.cs
- Point4D.cs
- EventManager.cs
- X509CertificateInitiatorServiceCredential.cs
- NetNamedPipeSecurityMode.cs
- LinkButton.cs
- MonthChangedEventArgs.cs
- SystemParameters.cs
- GuidelineCollection.cs
- CellQuery.cs
- MultiSelectRootGridEntry.cs
- EntityDataSourceWrapperCollection.cs
- ListView.cs
- RunWorkerCompletedEventArgs.cs
- LocalIdKeyIdentifierClause.cs
- HostingPreferredMapPath.cs
- CheckBoxRenderer.cs
- X509Certificate.cs
- QilFunction.cs
- ProviderConnectionPointCollection.cs
- PeerNameRecord.cs
- cookieexception.cs
- TreeViewHitTestInfo.cs
- TextBounds.cs
- TabRenderer.cs
- XmlReader.cs
- ContainerControl.cs
- Timer.cs
- FilteredAttributeCollection.cs
- Line.cs
- SiteOfOriginContainer.cs
- CollectionsUtil.cs
- CircleHotSpot.cs
- Graphics.cs
- Signature.cs
- NativeWindow.cs
- GeometryDrawing.cs
- Internal.cs
- NetworkCredential.cs
- SHA256.cs
- ConfigurationSectionGroup.cs
- ImageConverter.cs
- FileChangesMonitor.cs
- FileIOPermission.cs
- ColumnHeaderConverter.cs
- ToggleButtonAutomationPeer.cs
- FileLoadException.cs
- XmlSignificantWhitespace.cs
- RepeaterItem.cs
- ControlBindingsConverter.cs
- TextBox.cs
- SecurityTokenRequirement.cs
- PermissionSet.cs
- BuiltInExpr.cs
- SerializationException.cs
- PkcsMisc.cs
- StorageFunctionMapping.cs
- VectorAnimationUsingKeyFrames.cs
- AxHost.cs
- Int32RectValueSerializer.cs
- ServerIdentity.cs
- AsyncOperationLifetimeManager.cs
- HandleRef.cs
- Size.cs
- ColorContextHelper.cs
- ImageBrush.cs
- DbConnectionPoolGroup.cs