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
- SecurityException.cs
- GenericIdentity.cs
- TaskDesigner.cs
- HTMLTagNameToTypeMapper.cs
- XPathItem.cs
- DependentList.cs
- DataGridRow.cs
- GeneralTransform2DTo3D.cs
- WebEventCodes.cs
- GroupLabel.cs
- AuthenticationConfig.cs
- Inflater.cs
- InvalidWMPVersionException.cs
- QuestionEventArgs.cs
- HuffCodec.cs
- CmsInterop.cs
- PropertyDescriptor.cs
- CollectionContainer.cs
- DataPointer.cs
- PerformanceCounterPermissionAttribute.cs
- CodeGroup.cs
- ChangePassword.cs
- WindowShowOrOpenTracker.cs
- WrapperEqualityComparer.cs
- FormsAuthenticationModule.cs
- XPathDocumentNavigator.cs
- Solver.cs
- BitConverter.cs
- ProxyWebPartManager.cs
- StackBuilderSink.cs
- HandlerBase.cs
- EntityDataSourceValidationException.cs
- EntityDataSourceChangedEventArgs.cs
- AssemblyBuilderData.cs
- UnauthorizedAccessException.cs
- XamlPathDataSerializer.cs
- GradientBrush.cs
- Rect3DValueSerializer.cs
- Container.cs
- RenderTargetBitmap.cs
- columnmapkeybuilder.cs
- SerializationEventsCache.cs
- CodeAccessSecurityEngine.cs
- Win32.cs
- HScrollProperties.cs
- DiffuseMaterial.cs
- UmAlQuraCalendar.cs
- Stream.cs
- XmlElementAttribute.cs
- MachineKeySection.cs
- GraphicsState.cs
- CodeDOMProvider.cs
- XmlDocumentFragment.cs
- COM2PictureConverter.cs
- WebBrowser.cs
- _NetRes.cs
- EmptyElement.cs
- _NtlmClient.cs
- ScrollBar.cs
- AttributeEmitter.cs
- filewebresponse.cs
- StatusBarItem.cs
- ResolvedKeyFrameEntry.cs
- BitConverter.cs
- SqlBinder.cs
- LogExtentCollection.cs
- MonikerHelper.cs
- InputBuffer.cs
- InstanceDescriptor.cs
- WorkflowItemPresenter.cs
- SqlProcedureAttribute.cs
- AuthenticatedStream.cs
- EventLog.cs
- StringConcat.cs
- ComboBox.cs
- RegexWorker.cs
- PreviewKeyDownEventArgs.cs
- WebConfigurationHost.cs
- InplaceBitmapMetadataWriter.cs
- ScriptBehaviorDescriptor.cs
- PriorityRange.cs
- ExternalException.cs
- StreamUpdate.cs
- Decimal.cs
- ContentFilePart.cs
- bindurihelper.cs
- MDIWindowDialog.cs
- NamespaceQuery.cs
- PageParser.cs
- ClientSettingsStore.cs
- Columns.cs
- RemotingConfigParser.cs
- Utility.cs
- Popup.cs
- CodeCommentStatementCollection.cs
- XmlSchemaSimpleTypeUnion.cs
- UnmanagedBitmapWrapper.cs
- RequestSecurityTokenForGetBrowserToken.cs
- Cell.cs
- Maps.cs