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
- FontUnit.cs
- ProcessHostServerConfig.cs
- GeneralTransform3DTo2DTo3D.cs
- X509Extension.cs
- MemoryFailPoint.cs
- MsmqMessage.cs
- SamlSubject.cs
- WebPartsPersonalizationAuthorization.cs
- ListItem.cs
- ParameterCollection.cs
- InputLanguageCollection.cs
- DataGridViewSelectedRowCollection.cs
- ModuleBuilder.cs
- DomNameTable.cs
- AnnotationService.cs
- Win32Interop.cs
- RotateTransform.cs
- RecognizerBase.cs
- assemblycache.cs
- TraceHandler.cs
- XmlSchemaAppInfo.cs
- Geometry.cs
- RefreshPropertiesAttribute.cs
- Baml2006ReaderContext.cs
- WebResourceAttribute.cs
- TreeNodeSelectionProcessor.cs
- NativeWindow.cs
- MimeXmlImporter.cs
- Resources.Designer.cs
- FormatterServices.cs
- DataTableNewRowEvent.cs
- BasicBrowserDialog.designer.cs
- XamlTreeBuilderBamlRecordWriter.cs
- SoapAttributeOverrides.cs
- Part.cs
- SyndicationItemFormatter.cs
- PropertyContainer.cs
- DuplicateWaitObjectException.cs
- ValidatorUtils.cs
- SdlChannelSink.cs
- XNodeValidator.cs
- FunctionNode.cs
- HttpModulesSection.cs
- WebPartConnection.cs
- SpnEndpointIdentity.cs
- CheckBox.cs
- BuildProvider.cs
- Label.cs
- TextTrailingWordEllipsis.cs
- ListViewDataItem.cs
- SourceFileBuildProvider.cs
- MergeLocalizationDirectives.cs
- MetadataExchangeBindings.cs
- PostBackTrigger.cs
- BackgroundWorker.cs
- FixedPageAutomationPeer.cs
- ReservationCollection.cs
- PerfCounters.cs
- WebZone.cs
- OutputCacheSettingsSection.cs
- TrackingWorkflowEventArgs.cs
- EntityDataSourceView.cs
- _AuthenticationState.cs
- DataGridViewCellStyleChangedEventArgs.cs
- OleDbDataReader.cs
- TextEditorTables.cs
- MasterPageCodeDomTreeGenerator.cs
- DataStorage.cs
- SoapCodeExporter.cs
- BindStream.cs
- HighContrastHelper.cs
- InstanceData.cs
- nulltextcontainer.cs
- DbBuffer.cs
- Config.cs
- DictionaryGlobals.cs
- CultureTable.cs
- SQLDouble.cs
- FontFaceLayoutInfo.cs
- SiteMapDataSource.cs
- SweepDirectionValidation.cs
- DiscoveryMessageSequence11.cs
- QueryStringParameter.cs
- ListViewDeletedEventArgs.cs
- SqlRecordBuffer.cs
- GiveFeedbackEvent.cs
- ReliableMessagingVersion.cs
- CharKeyFrameCollection.cs
- FormViewDeleteEventArgs.cs
- AsynchronousChannel.cs
- StateChangeEvent.cs
- PropertyGeneratedEventArgs.cs
- IndexingContentUnit.cs
- AutomationIdentifier.cs
- Baml2006Reader.cs
- DictionaryManager.cs
- MouseButtonEventArgs.cs
- TextOptionsInternal.cs
- Resources.Designer.cs
- Int32Animation.cs