Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Map / ViewGeneration / Utils / ExceptionHelpers.cs / 1305376 / ExceptionHelpers.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Text; using System.Data.Mapping.ViewGeneration.Structures; using System.Diagnostics; using System.Data.Common.Utils; namespace System.Data.Mapping.ViewGeneration.Utils { // Miscellaneous helper routines for generating mapping exceptions internal static class ExceptionHelpers { internal static void ThrowMappingException(ErrorLog.Record errorRecord, ConfigViewGenerator config) { InternalMappingException exception = new InternalMappingException(errorRecord.ToUserString(), errorRecord); if (config.IsNormalTracing) { exception.ErrorLog.PrintTrace(); } throw exception; } internal static void ThrowMappingException(ErrorLog errorLog, ConfigViewGenerator config) { InternalMappingException exception = new InternalMappingException(errorLog.ToUserString(), errorLog); if (config.IsNormalTracing) { exception.ErrorLog.PrintTrace(); } throw exception; } } } // 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
- HtmlElement.cs
- CompoundFileStorageReference.cs
- SmiMetaDataProperty.cs
- EdmPropertyAttribute.cs
- UnicodeEncoding.cs
- CoreSwitches.cs
- IISUnsafeMethods.cs
- DirectoryNotFoundException.cs
- Utils.cs
- SmtpReplyReaderFactory.cs
- ToolboxSnapDragDropEventArgs.cs
- ProviderMetadataCachedInformation.cs
- WebPartZoneAutoFormat.cs
- JumpPath.cs
- XPathConvert.cs
- DataControlButton.cs
- HMACSHA1.cs
- SponsorHelper.cs
- GenericPrincipal.cs
- Variable.cs
- VisualBrush.cs
- CheckBoxRenderer.cs
- DataGridViewCellPaintingEventArgs.cs
- SupportingTokenDuplexChannel.cs
- TypeDependencyAttribute.cs
- MdImport.cs
- CodeVariableDeclarationStatement.cs
- DataGridCellsPanel.cs
- ColorTransform.cs
- CreateUserWizardStep.cs
- ShaderEffect.cs
- SetStoryboardSpeedRatio.cs
- XmlSortKey.cs
- ShaderRenderModeValidation.cs
- MsmqIntegrationMessageProperty.cs
- ConfigurationElement.cs
- Attributes.cs
- DataGridCaption.cs
- SqlCommand.cs
- HttpCapabilitiesBase.cs
- PageSettings.cs
- DictionarySurrogate.cs
- ContentDisposition.cs
- WindowsImpersonationContext.cs
- NativeMethods.cs
- XmlNamespaceManager.cs
- EntityExpressionVisitor.cs
- HtmlInputRadioButton.cs
- RecognitionResult.cs
- EntityRecordInfo.cs
- CreateRefExpr.cs
- HttpContextWrapper.cs
- SessionStateUtil.cs
- PersonalizationState.cs
- OlePropertyStructs.cs
- ByteAnimationBase.cs
- TabletCollection.cs
- SessionStateSection.cs
- SoapProtocolImporter.cs
- TableRowGroup.cs
- TypeSource.cs
- OracleException.cs
- HtmlTextArea.cs
- ConfigurationManagerInternal.cs
- XmlUtil.cs
- SecurityKeyIdentifierClause.cs
- GlyphingCache.cs
- ExtensionQuery.cs
- QuaternionKeyFrameCollection.cs
- GradientBrush.cs
- WindowsStatusBar.cs
- FragmentQuery.cs
- SQLDecimal.cs
- DataColumnChangeEvent.cs
- SqlCacheDependency.cs
- FixedLineResult.cs
- TableLayoutPanelCellPosition.cs
- RouteValueExpressionBuilder.cs
- FixedSOMLineRanges.cs
- ContextInformation.cs
- PolicyStatement.cs
- ListBox.cs
- CommandEventArgs.cs
- MatrixCamera.cs
- BindableTemplateBuilder.cs
- FlowNode.cs
- Walker.cs
- ContentDisposition.cs
- PaintValueEventArgs.cs
- MultiTrigger.cs
- DoubleCollectionValueSerializer.cs
- WCFBuildProvider.cs
- XsdValidatingReader.cs
- OdbcHandle.cs
- StylusPointPropertyInfoDefaults.cs
- XmlSchemaComplexContentExtension.cs
- LexicalChunk.cs
- DrawingContextWalker.cs
- XslException.cs
- AuthorizationRule.cs