system\AggregateException.cs (40)
39private ReadOnlyCollection<Exception> m_innerExceptions; // Complete set of exceptions.
47m_innerExceptions = new ReadOnlyCollection<Exception>(new Exception[0]);
58m_innerExceptions = new ReadOnlyCollection<Exception>(new Exception[0]);
69public AggregateException(string message, Exception innerException)
77m_innerExceptions = new ReadOnlyCollection<Exception>(new Exception[] { innerException });
89public AggregateException(IEnumerable<Exception> innerExceptions) :
103public AggregateException(params Exception[] innerExceptions) :
118public AggregateException(string message, IEnumerable<Exception> innerExceptions)
121: this(message, innerExceptions as IList<Exception> ?? (innerExceptions == null ? (List<Exception>)null : new List<Exception>(innerExceptions)))
135public AggregateException(string message, params Exception[] innerExceptions) :
136this(message, (IList<Exception>)innerExceptions)
149private AggregateException(string message, IList<Exception> innerExceptions)
160Exception[] exceptionsCopy = new Exception[innerExceptions.Count];
172m_innerExceptions = new ReadOnlyCollection<Exception>(exceptionsCopy);
238Exception[] exceptionsCopy = new Exception[innerExceptionInfos.Count];
251m_innerExceptions = new ReadOnlyCollection<Exception>(exceptionsCopy);
272Exception[] innerExceptions = info.GetValue("InnerExceptions", typeof(Exception[])) as Exception[];
278m_innerExceptions = new ReadOnlyCollection<Exception>(innerExceptions);
300Exception[] innerExceptions = new Exception[m_innerExceptions.Count];
302info.AddValue("InnerExceptions", innerExceptions, typeof(Exception[]));
308public override Exception GetBaseException()
313Exception back = this;
327public ReadOnlyCollection<Exception> InnerExceptions
352public void Handle(Func<Exception, bool> predicate)
359List<Exception> unhandledExceptions = null;
368unhandledExceptions = new List<Exception>();
397List<Exception> flattenedExceptions = new List<Exception>();
408IList<Exception> currentInnerExceptions = exceptionsToFlatten[nDequeueIndex++].InnerExceptions;
412Exception currentInnerException = currentInnerExceptions[i];
system\diagnostics\contracts\contracts.cs (11)
426public static void Requires<TException>(bool condition) where TException : Exception
448public static void Requires<TException>(bool condition, String userMessage) where TException : Exception
512public static void EnsuresOnThrow<TException>(bool condition) where TException : Exception
534public static void EnsuresOnThrow<TException>(bool condition, String userMessage) where TException : Exception
893static partial void ReportFailure(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException);
940public static string RaiseContractFailedEvent(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException)
952public static void TriggerFailure(ContractFailureKind kind, String displayMessage, String userMessage, String conditionText, Exception innerException)
979public static string RaiseContractFailedEvent(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException)
994public static void TriggerFailure(ContractFailureKind kind, String displayMessage, String userMessage, String conditionText, Exception innerException)
1014static partial void RaiseContractFailedEventImplementation(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException, ref string resultFailureMessage);
1019static partial void TriggerFailureImplementation(ContractFailureKind kind, String displayMessage, String userMessage, String conditionText, Exception innerException);
system\diagnostics\contracts\contractsbcl.cs (10)
102static partial void ReportFailure(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException)
153private Exception _originalException;
157internal Exception thrownDuringHandler;
162public ContractFailedEventArgs(ContractFailureKind failureKind, String message, String condition, Exception originalException)
174public Exception OriginalException { get { return _originalException; } }
235public ContractException(ContractFailureKind kind, string failure, string userMessage, string condition, Exception innerException)
340static partial void RaiseContractFailedEventImplementation(ContractFailureKind failureKind, String userMessage, String conditionText, Exception innerException, ref string resultFailureMessage)
365catch (Exception e)
408static partial void TriggerFailureImplementation(ContractFailureKind kind, String displayMessage, String userMessage, String conditionText, Exception innerException)
520private static void TriggerCodeContractEscalationPolicy(ContractFailureKind failureKind, String message, String conditionText, Exception innerException)
system\diagnostics\stacktrace.cs (7)
106internal void InitializeSourceInfo(int iSkip, bool fNeedFileInfo, Exception exception)
382public StackTrace(Exception e)
398public StackTrace(Exception e, bool fNeedFileInfo)
415public StackTrace(Exception e, int skipFrames)
437public StackTrace(Exception e, int skipFrames, bool fNeedFileInfo)
484internal static extern void GetStackFramesInternal(StackFrameHelper sfh, int iSkip, bool fNeedFileInfo, Exception e);
517private void CaptureStackTrace(int iSkip, bool fNeedFileInfo, Thread targetThread, Exception e)
system\stubhelpers.cs (17)
823internal static unsafe void ConvertContentsToNative_Exception(ref Exception[] managedArray, IntPtr pNativeHome)
897internal static unsafe void ConvertContentsToManaged_Exception(ref Exception[] managedArray, IntPtr pNativeHome)
1496static internal unsafe int ConvertToNative(Exception ex)
1510static internal unsafe Exception ConvertToManaged(int hr)
1512Contract.Ensures(Contract.Result<Exception>() != null || hr >= 0);
1519Exception e = null;
1732static internal Exception GetHRExceptionObject(int hr)
1734Exception ex = InternalGetHRExceptionObject(hr);
1740static internal extern Exception InternalGetHRExceptionObject(int hr);
1743static internal Exception GetCOMHRExceptionObject(int hr, IntPtr pCPCMD, object pThis)
1745Exception ex = InternalGetCOMHRExceptionObject(hr, pCPCMD, pThis, false);
1750static internal Exception GetCOMHRExceptionObject_WinRT(int hr, IntPtr pCPCMD, object pThis)
1752Exception ex = InternalGetCOMHRExceptionObject(hr, pCPCMD, pThis, true);
1758static internal extern Exception InternalGetCOMHRExceptionObject(int hr, IntPtr pCPCMD, object pThis, bool fForWinRT);
1800catch (Exception ex)
1856static internal extern Exception TriggerExceptionSwallowedMDA(Exception ex, IntPtr pManagedTarget);
system\timezoneinfo.cs (7)
946Exception ex;
1841Exception ex;
1854Exception ex;
1961Exception e;
2306static private bool TryCreateAdjustmentRules(string id, Win32Native.RegistryTimeZoneInformation defaultTimeZoneInformation, out AdjustmentRule[] rules, out Exception e, int defaultBaseUtcOffset) {
2764static private TimeZoneInfoResult TryGetTimeZoneByRegistryKey(string id, out TimeZoneInfo value, out Exception e) {
2856static private TimeZoneInfoResult TryGetTimeZone(string id, Boolean dstDisabled, out TimeZoneInfo value, out Exception e, CachedData cachedData) {
Framework\System\Windows\Markup\XAMLParseException.cs (5)
80public XamlParseException(string message, Exception innerException)
122public XamlParseException(string message, int lineNumber, int linePosition, Exception innerException)
129internal XamlParseException(string message, int lineNumber, int linePosition, Uri baseUri, Exception innerException)
431Exception innerException,
540Exception innerException,
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
220catch (Exception ex)
src\Framework\System\Windows\Documents\ITextView.cs (4)
603public BringPositionIntoViewCompletedEventArgs(ITextPointer position, bool succeeded, Exception error, bool cancelled, object userState)
631public BringPointIntoViewCompletedEventArgs(Point point, ITextPointer position, bool succeeded, Exception error, bool cancelled, object userState)
700public BringLineIntoViewCompletedEventArgs(ITextPointer position, double suggestedX, int count, ITextPointer newPosition, double newSuggestedX, int linesMoved, bool succeeded, Exception error, bool cancelled, object userState)
816public BringPageIntoViewCompletedEventArgs(ITextPointer position, Point suggestedOffset, int count, ITextPointer newPosition, Point newSuggestedOffset, int pagesMoved, bool succeeded, Exception error, bool cancelled, object userState)
src\Framework\System\Windows\Markup\XamlParseException.cs (6)
80public XamlParseException(string message, Exception innerException)
122public XamlParseException(string message, int lineNumber, int linePosition, Exception innerException)
129internal XamlParseException(string message, int lineNumber, int linePosition, Uri baseUri, Exception innerException)
431Exception innerException,
524internal static void ThrowException(ParserContext parserContext, int lineNumber, int linePosition, string message, Exception innerException)
540Exception innerException,
net\System\Net\_Connection.cs (18)
136internal static void AddExceptionRange(ref ConnectionReturnResult returnResult, HttpWebRequest [] requests, Exception exception)
140internal static void AddExceptionRange(ref ConnectionReturnResult returnResult, HttpWebRequest [] requests, int abortedPipelinedRequestIndex, Exception exception, Exception firstRequestException)
190catch(Exception e) {
276internal Exception m_InnerException;
960catch (Exception exception) {
1090catch (Exception exception) {
1121Exception stateException = state as Exception;
1193catch (Exception exception)
2989Exception theException = m_InnerException;
3150internal void HandleConnectStreamException(bool writeDone, bool readDone, WebExceptionStatus webExceptionStatus, ref ConnectionReturnResult returnResult, Exception e)
3233catch (Exception exception) {
3353catch (Exception exception)
3594catch (Exception exception) {
3711catch (Exception exception) {
3761catch (Exception exception) {
3834catch (Exception exception) {
net\System\Net\_ConnectStream.cs (34)
76private Exception m_ErrorException; // non-null if we've seen an error on this connection.
173Interlocked.CompareExchange<Exception>(ref m_ErrorException, new IOException(SR.GetString(SR.net_io_readfailure, SR.GetString(SR.net_io_connectionclosed))), null);
681catch (Exception exception)
1005catch (Exception exception) {
1108catch (Exception exception) {
1200Exception userException = null;
1214catch (Exception exception) {
1238catch (Exception exception) {
1264Interlocked.CompareExchange<Exception>(ref m_ErrorException, userException, null);
1325Exception exception = returnValue as Exception;
1421catch (Exception exception)
1429catch (Exception exception)
1493catch (Exception exception) {
1532catch (Exception exception) {
1806catch (Exception exception) {
1881catch (Exception exception) {
1942Exception errorException = result as Exception;
1986catch (Exception exception)
2123catch (Exception e){
2143catch (Exception e) {
2224catch (Exception e) {
2268catch (Exception e)
2277private void HandleWriteHeadersException(Exception e, WebExceptionStatus error) {
2453catch (Exception exception) {
2465catch (Exception exception) {
2507Exception exceptionOnWrite = null;
2666catch (Exception exception) {
2945catch (Exception exception) {
3011private void IOError(Exception exception) {
3021private void IOError(Exception exception, bool willThrow)
3038Interlocked.CompareExchange<Exception>(ref m_ErrorException, new IOException(Msg), null);
3042willThrow &= Interlocked.CompareExchange<Exception>(ref m_ErrorException, exception, null) != null;
net\System\Net\HttpWebRequest.cs (46)
1248catch (Exception exception) {
1367if (_WriteAResult.Result is Exception)
1369throw (Exception)_WriteAResult.Result;
1376catch (Exception e)
1387Exception exception = new InvalidOperationException(SR.GetString(SR.net_needmorethreads));
1414GlobalLog.Assert(_ReadAResult.Result is Exception, "HttpWebRequest#{0}::BeginGetRequestStream()|_ReadAResult with successful completion already present on request.", ValidationHelper.HashString(this));
1415throw (Exception)_ReadAResult.Result;
1488if (Logging.On) Logging.Exception(Logging.Web, this, "EndGetRequestStream", castedAsyncResult.Result as Exception);
1489throw (Exception)castedAsyncResult.Result;
1567GlobalLog.Assert(_ReadAResult.Result is Exception, "HttpWebRequest#{0}::GetRequestStream()|_ReadAResult with successful completion already present on request.", ValidationHelper.HashString(this));
1568throw (Exception)_ReadAResult.Result;
1593if (!(_CoreResponse is Exception))
1606if (Logging.On) Logging.Exception(Logging.Web, this, "EndGetRequestStream", _WriteAResult.Result as Exception);
1607throw (Exception)_WriteAResult.Result;
1773private HttpProcessingResult DoSubmitRequestProcessing(ref Exception exception)
1953Exception exception = new InvalidOperationException(SR.GetString(SR.net_needmorethreads));
1991Exception e = _ReadAResult.Result as Exception;
2001catch (Exception exception)
2078if (Logging.On) Logging.Exception(Logging.Web, this, "EndGetResponse", castedAsyncResult.Result as Exception);
2080throw (Exception) castedAsyncResult.Result;
2257if (!(_CoreResponse is Exception))
2269if (Logging.On) Logging.Exception(Logging.Web, this, "GetResponse", _ReadAResult.Result as Exception);
2271throw (Exception) _ReadAResult.Result;
3135private void Abort(Exception exception, int abortState)
3331catch (Exception exception) {
3405GlobalLog.Assert(_CoreResponse is Exception, "SetRequestSubmitDone()|Found offensive response right after getting connection ({0}).", _CoreResponse);
3552Exception exception = responseData as Exception;
3655Exception e = responseOrException as Exception;
3708SetResponse(responseOrException as Exception);
3754catch (Exception exception) {
3778Exception exception = null;
3812catch (Exception e)
3837private void SetResponse(Exception E) {
3888catch (Exception unexpectedException)
4248catch (Exception exception)
4623catch (Exception e)
5576private bool CheckResubmitForCache(ref Exception e) {
5601private void SetExceptionIfRequired(string message, ref Exception e)
5608private void SetExceptionIfRequired(string message, Exception innerException, ref Exception e)
5635private bool CheckResubmit(ref Exception e, ref bool disableUpload) {
5926private bool HasRedirectPermission(Uri uri, ref Exception resultException)
6093private void FinishRequest(HttpWebResponse response, Exception errorException)
net\System\Net\webclient.cs (52)
355} catch (Exception e) {
399} catch (Exception e) {
447} catch (Exception e) {
502} catch (Exception e) {
573} catch (Exception e) {
716} catch (Exception e) {
808} catch (Exception e) {
907catch (Exception exception) {
1209Exception exception = null;
1215} catch (Exception e) {
1244Exception exception = null;
1252} catch (Exception e) {
1475Exception exception = null;
1480} catch (Exception e) {
1504Exception exception = null;
1510} catch (Exception e) {
1802Exception exception = null;
1806} catch (Exception e) {
1840} catch (Exception e) {
1873Exception exception = null;
1878} catch (Exception e) {
1922} catch (Exception e) {
1951private void DownloadStringAsyncCallback(byte [] returnBytes, Exception exception, Object state) {
1959} catch (Exception e) {
1990} catch (Exception e) {
2016private void DownloadDataAsyncCallback(byte [] returnBytes, Exception exception, Object state)
2044} catch (Exception e) {
2071private void DownloadFileAsyncCallback(byte [] returnBytes, Exception exception, Object state) {
2103} catch (Exception e) {
2139catch (Exception e)
2151private void UploadStringAsyncWriteCallback(byte [] returnBytes, Exception exception, Object state) {
2164private void UploadStringAsyncReadCallback(byte [] returnBytes, Exception exception, Object state) {
2172} catch (Exception e) {
2222} catch (Exception e) {
2253private void UploadDataAsyncWriteCallback(byte [] returnBytes, Exception exception, Object state) {
2266private void UploadDataAsyncReadCallback(byte [] returnBytes, Exception exception, Object state) {
2318} catch (Exception e) {
2348private void UploadFileAsyncWriteCallback(byte[] returnBytes, Exception exception, Object state) {
2361private void UploadFileAsyncReadCallback(byte[] returnBytes, Exception exception, Object state)
2418} catch (Exception e) {
2453private void UploadValuesAsyncWriteCallback(byte [] returnBytes, Exception exception, Object state) {
2466private void UploadValuesAsyncReadCallback(byte [] returnBytes, Exception exception, Object state) {
2517} catch (Exception e) {
3107internal delegate void CompletionDelegate(byte [] responseBytes, Exception exception, Object State);
3113internal OpenReadCompletedEventArgs(Stream result, Exception exception, bool cancelled, object userToken) :
3129internal OpenWriteCompletedEventArgs(Stream result, Exception exception, bool cancelled, object userToken) :
3145internal DownloadStringCompletedEventArgs(string result, Exception exception, bool cancelled, object userToken) :
3162internal DownloadDataCompletedEventArgs(byte[] result, Exception exception, bool cancelled, object userToken) :
3179internal UploadStringCompletedEventArgs(string result, Exception exception, bool cancelled, object userToken) :
3196internal UploadDataCompletedEventArgs(byte [] result, Exception exception, bool cancelled, object userToken) :
3213internal UploadFileCompletedEventArgs(byte[] result, Exception exception, bool cancelled, object userToken) :
3230internal UploadValuesCompletedEventArgs(byte [] result, Exception exception, bool cancelled, object userToken) :
net\System\Net\WebException.cs (6)
79public WebException(string message, Exception innerException) :
97internal WebException(string message, WebExceptionStatus status, WebExceptionInternalStatus internalStatus, Exception innerException) :
113Exception innerException,
119internal WebException(string message, string data, Exception innerException, WebExceptionStatus status, WebResponse response) :
127Exception innerException,
134internal WebException(string message, string data, Exception innerException, WebExceptionStatus status, WebResponse response, WebExceptionInternalStatus internalStatus) :
net\System\Net\WebSockets\WebSocketException.cs (6)
45public WebSocketException(WebSocketError error, Exception innerException)
52public WebSocketException(WebSocketError error, string message, Exception innerException)
78public WebSocketException(int nativeError, Exception innerException)
103public WebSocketException(WebSocketError error, int nativeError, Exception innerException)
110public WebSocketException(WebSocketError error, int nativeError, string message, Exception innerException)
126public WebSocketException(string message, Exception innerException)
System\Activities\Runtime\ActivityExecutor.cs (52)
55Exception completionException;
83Exception terminationPendingException;
314catch (Exception e)
387public Exception TerminationException
650internal Exception SerializedCompletionException
1247Exception abortException = null;
1253catch (Exception e)
1349public void TerminateSpecialExecutionBlocks(ActivityInstance terminatedInstance, Exception terminationReason)
1353Exception abortException = null;
1359catch (Exception e)
1391bool Abort(Exception terminationException, bool isTerminate)
1513public bool Abort(Exception reason)
1528public void AbortWorkflowInstance(Exception reason)
1540catch (Exception e)
1550public void ScheduleTerminate(Exception reason)
1556public void Terminate(Exception reason)
1655Exception exception = workItem.ExceptionToPropagate;
1832catch (Exception e)
1846Exception setupOrCleanupException = null;
1856catch (Exception e)
2128internal void AbortActivityInstance(ActivityInstance instance, Exception reason)
2144internal Exception CompleteActivityInstance(ActivityInstance targetInstance)
2146Exception exceptionToPropagate = null;
2234catch (Exception e)
2372internal void NotifyUnhandledException(Exception exception, ActivityInstance source)
2378catch (Exception e)
2453catch (Exception e)
2959internal void ScheduleExpressionFaultPropagation(Activity activity, long instanceId, ActivityInstance parent, Exception exception)
3191catch (Exception e)
3217catch (Exception e)
3243Exception reason;
3248public AbortActivityWorkItem(ActivityExecutor executor, ActivityInstance activityInstance, Exception reason, ActivityInstanceReference originalSource)
3285internal Exception SerializedReason
3380catch (Exception e)
3500catch (Exception e)
3565Exception exception;
3567public PropagateExceptionWorkItem(Exception exception, ActivityInstance activityInstance)
3577internal Exception SerializedException
3614Exception exception;
3617public RethrowExceptionWorkItem(ActivityInstance activityInstance, Exception exception, ActivityInstanceReference source)
3652internal Exception SerializedException
3942catch (Exception e)
3972void HandleException(Exception exception)
3978catch (Exception e)
4014catch (Exception e)
4106catch (Exception e)
4175catch (Exception e)
4246catch (Exception e)
4275catch (Exception e)
4346catch (Exception e)
4440[Fx.Tag.Throws(typeof(Exception), "Doesn't handle any exceptions coming from Rollback.")]
4441public void Rollback(Exception reason)
System\Activities\Tracking\WorkflowInstanceUnhandledExceptionRecord.cs (7)
17Exception unhandledException;
20public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, string activityDefinitionId, ActivityInfo faultSource, Exception exception)
25public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, long recordNumber, string activityDefinitionId, ActivityInfo faultSource, Exception exception)
45public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, string activityDefinitionId, ActivityInfo faultSource, Exception exception, WorkflowIdentity workflowDefinitionIdentity)
51public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, long recordNumber, string activityDefinitionId, ActivityInfo faultSource, Exception exception, WorkflowIdentity workflowDefinitionIdentity)
64public Exception UnhandledException
89internal Exception SerializedUnhandledException
System\Activities\WorkflowApplication.cs (72)
366Exception abortException = null;
373catch (Exception e)
653Exception abortException = null;
667catch (Exception e)
718Exception abortException = null;
728catch (Exception e)
758internal void GetCompletionStatus(out Exception terminationException, out bool cancelled)
766protected internal override void OnRequestAbort(Exception reason)
781void Abort(string reason, Exception innerException)
805void AbortInstance(Exception reason, bool isWorkflowThread)
874Exception reason = (Exception)state;
898void ScheduleTrackAndRaiseAborted(Exception reason)
916Exception reason = (Exception)state;
933catch (Exception e)
955Exception reason = (Exception)result.AsyncState;
961catch (Exception e)
975void RaiseAborted(Exception reason)
1012public void Terminate(Exception reason)
1027public void Terminate(Exception reason, TimeSpan timeout)
1059void TerminateCore(Exception reason)
1069public IAsyncResult BeginTerminate(Exception reason, AsyncCallback callback, object state)
1084public IAsyncResult BeginTerminate(Exception reason, TimeSpan timeout, AsyncCallback callback, object state)
1269Exception completionException = null;
1866Exception abortReasonInnerException = null;
1946private void AbortDueToException(Exception e)
2214protected override void OnNotifyUnhandledException(Exception exception, Activity exceptionSource, string exceptionSourceInstanceId)
2220Exception abortException = null;
2231catch (Exception e)
2713Exception abortException = null;
2727catch (Exception e)
2764Exception abortException = null;
2778catch (Exception e)
2913Exception completionException;
3070Exception completionException;
3141catch (Exception e)
3208this.OnCompleting = new Action<AsyncResult, Exception>(Finally);
3270void Finally(AsyncResult result, Exception completionException)
3334Exception completionException = null;
3355catch (Exception e)
3433static Action<AsyncResult, Exception> completeCallback = new Action<AsyncResult, Exception>(OnComplete);
3560Exception completionException = null;
3566catch (Exception e)
3913static void OnComplete(AsyncResult result, Exception exception)
4018Exception completionException = null;
4027catch (Exception e)
4060Exception completionException = null;
4066catch (Exception e)
4089Exception reason;
4091TerminateAsyncResult(WorkflowApplication instance, Exception reason, AsyncCallback callback, object state)
4097public static TerminateAsyncResult Create(WorkflowApplication instance, Exception reason, TimeSpan timeout, AsyncCallback callback, object state)
4194static Action<AsyncResult, Exception> completeCallback = new Action<AsyncResult, Exception>(OnComplete);
4268static void OnComplete(AsyncResult result, Exception exception)
4286static Action<AsyncResult, Exception> completeCallback = new Action<AsyncResult, Exception>(OnComplete);
4345Exception updateException = null;
4438Exception completionException = null;
4444catch (Exception e)
4697static void OnComplete(AsyncResult result, Exception exception)
4718static void Abort(LoadAsyncResult thisPtr, Exception exception)
4906public Exception UnhandledException
5123Exception completionException;
5225public bool Run(WorkflowApplication instance, Exception exception, Activity exceptionSource, string exceptionSourceInstanceId)
5251bool OnStage1Complete(IAsyncResult lastResult, WorkflowApplication instance, Exception exception, Activity source, string sourceInstanceId)
5309static Action<AsyncResult, Exception> completeCallback = new Action<AsyncResult, Exception>(OnComplete);
5359static void OnComplete(AsyncResult result, Exception exception)
5860Exception completionException;
TD.Designer.cs (6)
437internal static void CompleteFaultWorkItem(string param0, string param1, string param2, string param3, string param4, string param5, System.Exception exception)
908internal static void ScheduleFaultWorkItem(string param0, string param1, string param2, string param3, string param4, string param5, System.Exception exception)
1134internal static void StartFaultWorkItem(string param0, string param1, string param2, string param3, string param4, string param5, System.Exception exception)
1438internal static void WorkflowInstanceAborted(string param0, System.Exception exception)
1614internal static void WorkflowApplicationTerminated(string param0, System.Exception exception)
1647internal static void WorkflowApplicationUnhandledException(string param0, string param1, string param2, string param3, System.Exception exception)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
439catch (Exception ex)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
171catch (Exception ex)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
840catch (Exception)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
139catch (Exception exception)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
472catch (Exception)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
1120catch (Exception)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
172catch (Exception e)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogControl.xaml.cs (1)
89catch (Exception ex)
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
80catch (Exception err)
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (1)
125catch (Exception err)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
877catch (Exception)
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
107catch (Exception e)
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (7)
164this.validationSynchronizer = new BackgroundValidationSynchronizer<Tuple<ValidationReason, ValidationResults, Exception>>(validationTaskDispatcher, this.CoreValidationWork, this.OnValidationWorkCompleted);
168this.validationSynchronizer = new ForegroundValidationSynchronizer<Tuple<ValidationReason, ValidationResults, Exception>>(validationTaskDispatcher, this.CoreValidationWork, this.OnValidationWorkCompleted);
381internal Tuple<ValidationReason, ValidationResults, Exception> CoreValidationWork(ValidationReason reason, CancellationToken cancellationToken)
385Exception exception = null;
394catch (Exception e)
407private void OnValidationWorkCompleted(Tuple<ValidationReason, ValidationResults, Exception> input)
411Exception exception = input.Item3;
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
101catch (Exception err)
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
78catch (Exception e)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Debugger.cs (1)
76catch (Exception ex)
System\Diagnostics\Eventing\Reader\EventLogException.cs (5)
58public EventLogException(string message, Exception innerException) : base(message, innerException) { }
93public EventLogNotFoundException(string message, Exception innerException) : base(message, innerException) { }
108public EventLogReadingException(string message, Exception innerException) : base(message, innerException) { }
123public EventLogProviderDisabledException(string message, Exception innerException) : base(message, innerException) { }
136public EventLogInvalidDataException(string message, Exception innerException) : base(message, innerException) { }
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
439catch (Exception ex)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\WorkflowDesignerExtensionManager.cs (1)
202catch (Exception ex)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
171catch (Exception ex)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
840catch (Exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
139catch (Exception exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
472catch (Exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
1120catch (Exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
172catch (Exception e)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogControl.xaml.cs (1)
89catch (Exception ex)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
973catch (System.Exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
80catch (Exception err)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (1)
125catch (Exception err)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
439catch (Exception ex)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
877catch (Exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
107catch (Exception e)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
580catch (System.Exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (7)
164this.validationSynchronizer = new BackgroundValidationSynchronizer<Tuple<ValidationReason, ValidationResults, Exception>>(validationTaskDispatcher, this.CoreValidationWork, this.OnValidationWorkCompleted);
168this.validationSynchronizer = new ForegroundValidationSynchronizer<Tuple<ValidationReason, ValidationResults, Exception>>(validationTaskDispatcher, this.CoreValidationWork, this.OnValidationWorkCompleted);
381internal Tuple<ValidationReason, ValidationResults, Exception> CoreValidationWork(ValidationReason reason, CancellationToken cancellationToken)
385Exception exception = null;
394catch (Exception e)
407private void OnValidationWorkCompleted(Tuple<ValidationReason, ValidationResults, Exception> input)
411Exception exception = input.Item3;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
101catch (Exception err)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1146catch (Exception err)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (1)
44Exception exception = null;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
78catch (Exception e)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Debugger.cs (1)
76catch (Exception ex)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1038catch (Exception e)
fx\src\data\System\Data\Common\AdapterUtil.cs (140)
54static internal Task<T> CreatedTaskWithException<T>(Exception ex) {
66static internal Exception ExceptionWithStackTrace(Exception e)
71catch (Exception caught) {
101[BidArgumentType(typeof(String))] Exception e) {
108static internal void TraceExceptionAsReturnValue(Exception e) {
111static internal void TraceExceptionForCapture(Exception e) {
115static internal void TraceExceptionWithoutRethrow(Exception e) {
128static internal ArgumentException Argument(string error, Exception inner) {
138static internal ArgumentException Argument(string error, string parameter, Exception inner) {
201static internal InvalidCastException InvalidCast(string error, Exception inner) {
216static internal InvalidOperationException InvalidOperation(string error, Exception inner)
240static internal OverflowException Overflow(string error, Exception inner) {
265static internal IOException IO(string error, Exception inner) {
273static internal InvalidOperationException DataAdapter(string error, Exception inner) {
375static internal bool IsCatchableExceptionType (Exception e) {
388static internal bool IsCatchableOrSecurityExceptionType(Exception e) {
773static internal ArgumentException UdlFileError(Exception inner) {
791static internal ArgumentException ConvertFailed(Type fromType, Type toType, Exception innerException) {
833static internal Exception InvalidMixedUsageOfAccessTokenAndCredential() {
837static internal Exception InvalidMixedUsageOfAccessTokenAndAuthentication() {
841static internal Exception InvalidMixedUsageOfCredentialAndAccessToken() {
886static internal Exception InvalidConnectionOptionValue(string key) {
889static internal Exception InvalidConnectionOptionValueLength(string key, int limit) {
892static internal Exception InvalidConnectionOptionValue(string key, Exception inner) {
895static internal Exception MissingConnectionOptionValue(string key, string requiredAdditionalKey) {
902static internal Exception InvalidXMLBadVersion() {
905static internal Exception NotAPermissionElement() {
908static internal Exception PermissionTypeMismatch() {
912static internal Exception WrongType(Type got, Type expected) {
916static internal Exception OdbcNoTypesFromProvider() {
923static internal Exception PooledOpenTimeout() {
927static internal Exception NonPooledOpenTimeout() {
949static internal Exception CollectionUniqueValue(Type itemType, string propertyName, string propertyValue) {
1026static internal Exception InvalidSourceColumn(string parameter) {
1029static internal Exception ColumnsAddNullAttempt(string parameter) {
1032static internal Exception ColumnsDataSetColumn(string cacheColumn) {
1035static internal Exception ColumnsIndexInt32(int index, IColumnMappingCollection collection) {
1038static internal Exception ColumnsIndexSource(string srcColumn) {
1041static internal Exception ColumnsIsNotParent(ICollection collection) {
1044static internal Exception ColumnsIsParent(ICollection collection) {
1047static internal Exception ColumnsUniqueSourceColumn(string srcColumn) {
1050static internal Exception NotADataColumnMapping(object value) {
1057static internal Exception InvalidSourceTable(string parameter) {
1060static internal Exception TablesAddNullAttempt(string parameter) {
1063static internal Exception TablesDataSetTable(string cacheTable) {
1066static internal Exception TablesIndexInt32(int index, ITableMappingCollection collection) {
1069static internal Exception TablesIsNotParent(ICollection collection) {
1072static internal Exception TablesIsParent(ICollection collection) {
1075static internal Exception TablesSourceIndex(string srcTable) {
1078static internal Exception TablesUniqueSourceTable(string srcTable) {
1081static internal Exception NotADataTableMapping(object value) {
1093static internal Exception CommandTextRequired(string method) {
1184static internal Exception NoStoredProcedureExists(string sproc) {
1187static internal Exception OpenReaderExists() {
1191static internal Exception OpenReaderExists(Exception e) {
1195static internal Exception TransactionCompleted() {
1202static internal Exception NonSeqByteAccess(long badIndex, long currIndex, string method) {
1206static internal Exception NegativeParameter(string parameterName) {
1210static internal Exception NumericToDecimalOverflow() {
1218static internal Exception ExceedsMaxDataLength(long specifiedLength, long maxLength) {
1222static internal Exception InvalidSeekOrigin(string parameterName) {
1229static internal Exception InvalidImplicitConversion(Type fromtype, string totype) {
1232static internal Exception InvalidMetaDataValue() {
1236static internal Exception NotRowType() {
1253static internal Exception FillSchemaRequiresSourceTableName(string parameter) {
1260static internal Exception InvalidMaxRecords(string parameter, int max) {
1263static internal Exception InvalidStartRecord(string parameter, int start) {
1266static internal Exception FillRequires(string parameter) {
1269static internal Exception FillRequiresSourceTableName(string parameter) {
1272static internal Exception FillChapterAutoIncrement() {
1297static internal Exception UpdateConcurrencyViolation(StatementType statementType, int affected, int expected, DataRow[] dataRows) {
1369static internal Exception InvalidCommandTimeout(int value) {
1372static internal Exception DeriveParametersNotSupported(IDbCommand value) {
1375static internal Exception UninitializedParameterSize(int index, Type dataType) {
1378static internal Exception PrepareParameterType(IDbCommand cmd) {
1381static internal Exception PrepareParameterSize(IDbCommand cmd) {
1384static internal Exception PrepareParameterScale(IDbCommand cmd, string type) {
1387static internal Exception MismatchedAsyncResult(string expectedMethod, string gotMethod) {
1394static internal Exception ConnectionIsDisabled (Exception InnerException) {
1397static internal Exception ClosedConnectionError() {
1400static internal Exception ConnectionAlreadyOpen(ConnectionState state) {
1403static internal Exception DelegatedTransactionPresent() {
1406static internal Exception TransactionPresent() {
1409static internal Exception LocalTransactionPresent() {
1412static internal Exception OpenConnectionPropertySet(string property, ConnectionState state) {
1415static internal Exception EmptyDatabaseName() {
1418static internal Exception DatabaseNameTooLong() {
1428static internal Exception InternalConnectionError(ConnectionError internalError) {
1470static internal Exception InternalError(InternalErrorCode internalError) {
1473static internal Exception InternalError(InternalErrorCode internalError, Exception innerException) {
1476static internal Exception InvalidConnectTimeoutValue() {
1480static internal Exception InvalidConnectRetryCountValue() {
1484static internal Exception InvalidConnectRetryIntervalValue() {
1491static internal Exception DataReaderNoData() {
1494static internal Exception DataReaderClosed(string method) {
1506static internal Exception InvalidDataLength(long length) {
1516static internal Exception StreamClosed(string method) {
1519static internal IOException ErrorReadingFromStream(Exception internalException) {
1595static internal Exception ParameterConversionFailed(object value, Type destType, Exception inner) { // WebData 75433
1599Exception e;
1623static internal Exception ParametersMappingIndex(int index, IDataParameterCollection collection) {
1626static internal Exception ParametersSourceIndex(string parameterName, IDataParameterCollection collection, Type parameterType) {
1629static internal Exception ParameterNull(string parameter, IDataParameterCollection collection, Type parameterType) {
1632static internal Exception InvalidParameterType(IDataParameterCollection collection, Type parameterType, object invalidValue) {
1639static internal Exception ParallelTransactionsNotSupported(IDbConnection obj) {
1642static internal Exception TransactionZombied(IDbTransaction obj) {
1646static internal Exception DbRecordReadOnly(string methodname) {
1650static internal Exception OffsetOutOfRangeException() {
1658static internal Exception AmbigousCollectionName(string collectionName) {
1662static internal Exception CollectionNameIsNotUnique(string collectionName) {
1666static internal Exception DataTableDoesNotExist(string collectionName) {
1670static internal Exception IncorrectNumberOfDataSourceInformationRows() {
1678static internal Exception InvalidXml() {
1682static internal Exception InvalidXmlMissingColumn(string collectionName, string columnName) {
1686static internal Exception InvalidXmlInvalidValue(string collectionName, string columnName) {
1690static internal Exception MissingDataSourceInformationColumn() {
1694static internal Exception MissingRestrictionColumn() {
1698static internal Exception MissingRestrictionRow() {
1702static internal Exception NoColumns() {
1706static internal Exception QueryFailed(string collectionName, Exception e) {
1710static internal Exception TooManyRestrictions(string collectionName) {
1714static internal Exception UnableToBuildCollection(string collectionName) {
1718static internal Exception UndefinedCollection(string collectionName) {
1722static internal Exception UndefinedPopulationMechanism(string populationMechanism) {
1726static internal Exception UnsupportedVersion(string collectionName) {
1739static internal Exception InvalidFormatValue() {
1747static internal Exception LiteralValueIsInvalid(string dataTypeName){
1751static internal Exception EvenLengthLiteralValue(string argumentName) {
1755static internal Exception HexDigitLiteralValue(string argumentName) {
1767static internal Exception UnsupportedNativeDataTypeOleDb(string dataTypeName) {
1772static internal Exception InvalidArgumentValue(string methodName) {
2170catch(Exception e){
2247catch(Exception e) {
fx\src\data\System\Data\DataException.cs (278)
37public DataException(string s, Exception innerException)
55public ConstraintException(string message, Exception innerException) : base(message, innerException) {
83public DeletedRowInaccessibleException(string message, Exception innerException) : base(message, innerException) {
101public DuplicateNameException(string message, Exception innerException) : base(message, innerException) {
119public InRowChangingEventException(string message, Exception innerException) : base(message, innerException) {
137public InvalidConstraintException(string message, Exception innerException) : base(message, innerException) {
155public MissingPrimaryKeyException(string message, Exception innerException) : base(message, innerException) {
173public NoNullAllowedException(string message, Exception innerException) : base(message, innerException) {
191public ReadOnlyException(string message, Exception innerException) : base(message, innerException) {
209public RowNotInTableException(string message, Exception innerException) : base(message, innerException) {
227public VersionNotFoundException(string message, Exception innerException) : base(message, innerException) {
245[BidArgumentType(typeof(String))] Exception e) {
261static internal void TraceExceptionAsReturnValue(Exception e) {
264static internal void TraceExceptionForCapture(Exception e) {
267static internal void TraceExceptionWithoutRethrow(Exception e) {
284static internal ArgumentException _Argument(string error, Exception innerException) {
333static private void ThrowDataException(string error, Exception innerException)
393static public Exception ArgumentNull(string paramName) {
396static public Exception ArgumentOutOfRange(string paramName) {
399static public Exception BadObjectPropertyAccess(string error) {
402static public Exception ArgumentContainsNull(string paramName) {
411static public Exception CannotModifyCollection() {
414static public Exception CaseInsensitiveNameConflict(string name) {
417static public Exception NamespaceNameConflict(string name) {
420static public Exception InvalidOffsetLength() {
428static public Exception ColumnNotInTheTable(string column, string table) {
432static public Exception ColumnNotInAnyTable() {
436static public Exception ColumnOutOfRange(int index) {
439static public Exception ColumnOutOfRange(string column) {
443static public Exception CannotAddColumn1(string column) {
447static public Exception CannotAddColumn2(string column) {
451static public Exception CannotAddColumn3() {
455static public Exception CannotAddColumn4(string column) {
459static public Exception CannotAddDuplicate(string column) {
463static public Exception CannotAddDuplicate2(string table) {
467static public Exception CannotAddDuplicate3(string table) {
471static public Exception CannotRemoveColumn() {
475static public Exception CannotRemovePrimaryKey() {
479static public Exception CannotRemoveChildKey(string relation) {
483static public Exception CannotRemoveConstraint(string constraint, string table) {
487static public Exception CannotRemoveExpression(string column, string expression) {
491static public Exception ColumnNotInTheUnderlyingTable(string column, string table) {
495static public Exception InvalidOrdinal(string name, int ordinal) {
503static public Exception AddPrimaryKeyConstraint() {
507static public Exception NoConstraintName() {
511static public Exception ConstraintViolation(string constraint) {
515static public Exception ConstraintNotInTheTable(string constraint) {
538static public Exception ConstraintViolation(DataColumn[] columns, object[] values) {
542static public Exception ConstraintOutOfRange(int index) {
546static public Exception DuplicateConstraint(string constraint) {
550static public Exception DuplicateConstraintName(string constraint) {
554static public Exception NeededForForeignKeyConstraint(UniqueConstraint key, ForeignKeyConstraint fk) {
558static public Exception UniqueConstraintViolation() {
562static public Exception ConstraintForeignTable() {
566static public Exception ConstraintParentValues() {
570static public Exception ConstraintAddFailed(DataTable table) {
574static public Exception ConstraintRemoveFailed() {
578static public Exception FailedCascadeDelete(string constraint) {
582static public Exception FailedCascadeUpdate(string constraint) {
586static public Exception FailedClearParentTable(string table, string constraint, string childTable) {
590static public Exception ForeignKeyViolation(string constraint, object[] keys) {
594static public Exception RemoveParentRow(ForeignKeyConstraint constraint) {
605static public Exception CantAddConstraintToMultipleNestedTable(string tableName) {
613static public Exception AutoIncrementAndExpression() {
616static public Exception AutoIncrementAndDefaultValue() {
619static public Exception AutoIncrementSeed() {
622static public Exception CantChangeDataType() {
625static public Exception NullDataType() {
628static public Exception ColumnNameRequired() {
631static public Exception DefaultValueAndAutoIncrement() {
634static public Exception DefaultValueDataType(string column, Type defaultType, Type columnType, Exception inner) {
642static public Exception DefaultValueColumnDataType(string column, Type defaultType, Type columnType, Exception inner) {
646static public Exception ExpressionAndUnique() {
649static public Exception ExpressionAndReadOnly() {
653static public Exception ExpressionAndConstraint(DataColumn column, Constraint constraint) {
657static public Exception ExpressionInConstraint(DataColumn column) {
661static public Exception ExpressionCircular() {
665static public Exception NonUniqueValues(string column) {
669static public Exception NullKeyValues(string column) {
672static public Exception NullValues(string column) {
676static public Exception ReadOnlyAndExpression() {
680static public Exception ReadOnly(string column) {
684static public Exception UniqueAndExpression() {
688static public Exception SetFailed(object value, DataColumn column, Type type, Exception innerException) {
692static public Exception CannotSetToNull(DataColumn column) {
696static public Exception LongerThanMaxLength(DataColumn column) {
700static public Exception CannotSetMaxLength(DataColumn column, int value) {
704static public Exception CannotSetMaxLength2(DataColumn column) {
708static public Exception CannotSetSimpleContentType(String columnName, Type type) {
712static public Exception CannotSetSimpleContent(String columnName, Type type) {
716static public Exception CannotChangeNamespace(String columnName) {
720static public Exception HasToBeStringType(DataColumn column) {
724static public Exception AutoIncrementCannotSetIfHasData(string typeName) {
728static public Exception INullableUDTwithoutStaticNull(string typeName) {
732static public Exception IComparableNotImplemented(string typeName) {
736static public Exception UDTImplementsIChangeTrackingButnotIRevertible(string typeName) {
740static public Exception SetAddedAndModifiedCalledOnnonUnchanged() {
744static public Exception InvalidDataColumnMapping(Type type) {
748static public Exception CannotSetDateTimeModeForNonDateTimeColumns() {
752static public Exception InvalidDateTimeMode(DataSetDateTime mode) {
756static public Exception CantChangeDateTimeMode(DataSetDateTime oldValue, DataSetDateTime newValue) {
761static public Exception ColumnTypeNotSupported() {
769static public Exception SetFailed(string name) {
773static public Exception SetDataSetFailed() {
777static public Exception SetRowStateFilter() {
781static public Exception CanNotSetDataSet() {
785static public Exception CanNotUseDataViewManager() {
789static public Exception CanNotSetTable() {
793static public Exception CanNotUse() {
797static public Exception CanNotBindTable() {
801static public Exception SetTable() {
805static public Exception SetIListObject() {
809static public Exception AddNewNotAllowNull() {
813static public Exception NotOpen() {
817static public Exception CreateChildView() {
821static public Exception CanNotDelete() {
825static public Exception CanNotEdit() {
829static public Exception GetElementIndex(Int32 index) {
833static public Exception AddExternalObject() {
837static public Exception CanNotClear() {
841static public Exception InsertExternalObject() {
845static public Exception RemoveExternalObject() {
849static public Exception PropertyNotFound(string property, string table) {
853static public Exception ColumnToSortIsOutOfRange(string column) {
861static public Exception KeyTableMismatch() {
865static public Exception KeyNoColumns() {
869static public Exception KeyTooManyColumns(int cols) {
873static public Exception KeyDuplicateColumns(string columnName) {
881static public Exception RelationDataSetMismatch() {
885static public Exception NoRelationName() {
889static public Exception ColumnsTypeMismatch() {
893static public Exception KeyLengthMismatch() {
897static public Exception KeyLengthZero() {
901static public Exception ForeignRelation() {
905static public Exception KeyColumnsIdentical() {
909static public Exception RelationForeignTable(string t1, string t2) {
913static public Exception GetParentRowTableMismatch(string t1, string t2) {
917static public Exception SetParentRowTableMismatch(string t1, string t2) {
921static public Exception RelationForeignRow() {
925static public Exception RelationNestedReadOnly() {
929static public Exception TableCantBeNestedInTwoTables(string tableName) {
933static public Exception LoopInNestedRelations(string tableName) {
937static public Exception RelationDoesNotExist() {
941static public Exception ParentRowNotInTheDataSet() {
945static public Exception ParentOrChildColumnsDoNotHaveDataSet() {
949static public Exception InValidNestedRelation(string childTableName) {
954static public Exception InvalidParentNamespaceinNestedRelation(string childTableName) {
962static public Exception RowNotInTheDataSet() {
966static public Exception RowNotInTheTable() {
969static public Exception EditInRowChanging() {
973static public Exception EndEditInRowChanging() {
977static public Exception BeginEditInRowChanging() {
981static public Exception CancelEditInRowChanging() {
985static public Exception DeleteInRowDeleting() {
989static public Exception ValueArrayLength() {
993static public Exception NoCurrentData() {
997static public Exception NoOriginalData() {
1001static public Exception NoProposedData() {
1005static public Exception RowRemovedFromTheTable() {
1009static public Exception DeletedRowInaccessible() {
1013static public Exception RowAlreadyDeleted() {
1017static public Exception RowEmpty() {
1021static public Exception InvalidRowVersion() {
1025static public Exception RowOutOfRange() {
1028static public Exception RowOutOfRange(int index) {
1031static public Exception RowInsertOutOfRange(int index) {
1035static public Exception RowInsertTwice(int index, string tableName) {
1039static public Exception RowInsertMissing( string tableName) {
1043static public Exception RowAlreadyRemoved() {
1047static public Exception MultipleParents() {
1051static public Exception InvalidRowState(DataRowState state) {
1055static public Exception InvalidRowBitPattern() {
1063static internal Exception SetDataSetNameToEmpty() {
1066static internal Exception SetDataSetNameConflicting(string name) {
1069static public Exception DataSetUnsupportedSchema(string ns) {
1072static public Exception MergeMissingDefinition(string obj) {
1075static public Exception TablesInDifferentSets() {
1078static public Exception RelationAlreadyExists() {
1081static public Exception RowAlreadyInOtherCollection() {
1084static public Exception RowAlreadyInTheCollection() {
1087static public Exception TableMissingPrimaryKey() {
1090static public Exception RecordStateRange() {
1093static public Exception IndexKeyLength(int length, int keyLength) {
1102static public Exception RemovePrimaryKey(DataTable table) {
1110static public Exception RelationAlreadyInOtherDataSet() {
1113static public Exception RelationAlreadyInTheDataSet() {
1116static public Exception RelationNotInTheDataSet(string relation) {
1119static public Exception RelationOutOfRange(object index) {
1122static public Exception DuplicateRelation(string relation) {
1125static public Exception RelationTableNull() {
1128static public Exception RelationDataSetNull() {
1131static public Exception RelationTableWasRemoved() {
1134static public Exception ParentTableMismatch() {
1137static public Exception ChildTableMismatch() {
1140static public Exception EnforceConstraint() {
1143static public Exception CaseLocaleMismatch() {
1146static public Exception CannotChangeCaseLocale() {
1149static public Exception CannotChangeCaseLocale(Exception innerException) {
1153static public Exception CannotChangeSchemaSerializationMode() {
1157static public Exception InvalidSchemaSerializationMode(Type enumType, string mode) {
1161static public Exception InvalidRemotingFormat(SerializationFormat mode) {
1176static public Exception TableForeignPrimaryKey() {
1179static public Exception TableCannotAddToSimpleContent() {
1182static public Exception NoTableName() {
1185static public Exception MultipleTextOnlyColumns() {
1188static public Exception InvalidSortString(string sort) {
1191static public Exception DuplicateTableName(string table) {
1194static public Exception DuplicateTableName2(string table, string ns) {
1197static public Exception SelfnestedDatasetConflictingName(string table) {
1200static public Exception DatasetConflictingName(string table) {
1203static public Exception TableAlreadyInOtherDataSet() {
1206static public Exception TableAlreadyInTheDataSet() {
1209static public Exception TableOutOfRange(int index) {
1212static public Exception TableNotInTheDataSet(string table) {
1215static public Exception TableInRelation() {
1218static public Exception TableInConstraint(DataTable table, Constraint constraint) {
1222static public Exception CanNotSerializeDataTableHierarchy() {
1226static public Exception CanNotRemoteDataTable() {
1230static public Exception CanNotSetRemotingFormat() {
1234static public Exception CanNotSerializeDataTableWithEmptyName() {
1238static public Exception TableNotFound (string tableName) {
1246static public Exception AggregateException(AggregateType aggregateType, Type type) {
1249static public Exception InvalidStorageType(TypeCode typecode) {
1253static public Exception RangeArgument(Int32 min, Int32 max) {
1256static public Exception NullRange() {
1259static public Exception NegativeMinimumCapacity() {
1262static public Exception ProblematicChars(char charValue) {
1267static public Exception StorageSetFailed() {
1275static public Exception SimpleTypeNotSupported() {
1279static public Exception MissingAttribute(string attribute) {
1283static public Exception MissingAttribute(string element, string attribute) {
1287static public Exception InvalidAttributeValue(string name, string value) {
1291static public Exception AttributeValues(string name, string value1, string value2) {
1295static public Exception ElementTypeNotFound(string name) {
1299static public Exception RelationParentNameMissing(string rel) {
1303static public Exception RelationChildNameMissing(string rel) {
1307static public Exception RelationTableKeyMissing(string rel) {
1311static public Exception RelationChildKeyMissing(string rel) {
1315static public Exception UndefinedDatatype(string name) {
1319static public Exception DatatypeNotDefined() {
1323static public Exception MismatchKeyLength() {
1327static public Exception InvalidField(string name) {
1331static public Exception InvalidSelector(string name) {
1335static public Exception CircularComplexType(string name) {
1339static public Exception CannotInstantiateAbstract(string name) {
1343static public Exception InvalidKey(string name) {
1347static public Exception DiffgramMissingTable(string name) {
1351static public Exception DiffgramMissingSQL() {
1355static public Exception DuplicateConstraintRead(string str) {
1359static public Exception ColumnTypeConflict(string name) {
1363static public Exception CannotConvert(string name, string type) {
1367static public Exception MissingRefer(string name) {
1371static public Exception InvalidPrefix(string name) {
1375static public Exception CanNotDeserializeObjectType() {
1379static public Exception IsDataSetAttributeMissingInSchema() {
1382static public Exception TooManyIsDataSetAtributeInSchema() {
1387static public Exception NestedCircular(string name) {
1391static public Exception MultipleParentRows(string tableQName) {
1395static public Exception PolymorphismNotSupported(string typeName) {
1400static public Exception DataTableInferenceNotSupported() {
1407static internal void ThrowMultipleTargetConverter(Exception innerException)
1416static public Exception DuplicateDeclaration(string name) {
1422static public Exception FoundEntity() {
1427static public Exception MergeFailed(string name) {
1437static public Exception InvalidDataTableReader(string tableName) {
1441static public Exception DataTableReaderSchemaIsInvalid(string tableName) {
1445static public Exception CannotCreateDataReaderOnEmptyDataSet() {
1449static public Exception DataTableReaderArgumentIsEmpty() {
1453static public Exception ArgumentContainsNullValue() {
1457static public Exception InvalidCurrentRowInDataTableReader() {
1461static public Exception EmptyDataTableReader(string tableName) {
1467static internal Exception InvalidDuplicateNamedSimpleTypeDelaration(string stName, string errorStr) {
1472static internal Exception InternalRBTreeError(RBTreeError internalError) {
1475static public Exception EnumeratorModified() {
fx\src\data\System\Data\Filter\FilterException.cs (52)
34public InvalidExpressionException(string message, Exception innerException) : base(message, innerException) {}
54public EvaluateException(string message, Exception innerException) : base(message, innerException) {}
75public SyntaxErrorException(string message, Exception innerException) : base(message, innerException) {}
101static private EvaluateException _Eval(string error, Exception innerException) {
107static public Exception InvokeArgument() {
111static public Exception NYI(string moreinfo) {
117static public Exception MissingOperand(OperatorInfo before) {
121static public Exception MissingOperator(string token) {
125static public Exception TypeMismatch(string expr) {
129static public Exception FunctionArgumentOutOfRange(string arg, string func) {
133static public Exception ExpressionTooComplex() {
137static public Exception UnboundName(string name) {
141static public Exception InvalidString(string str) {
145static public Exception UndefinedFunction(string name) {
149static public Exception SyntaxError() {
153static public Exception FunctionArgumentCount(string name) {
157static public Exception MissingRightParen() {
161static public Exception UnknownToken(string token, int position) {
165static public Exception UnknownToken(Tokens tokExpected, Tokens tokCurr, int position) {
169static public Exception DatatypeConvertion(Type type1, Type type2) {
173static public Exception DatavalueConvertion(object value, Type type, Exception innerException) {
177static public Exception InvalidName(string name) {
181static public Exception InvalidDate(string date) {
185static public Exception NonConstantArgument() {
189static public Exception InvalidPattern(string pat) {
193static public Exception InWithoutParentheses() {
197static public Exception InWithoutList() {
201static public Exception InvalidIsSyntax() {
205static public Exception Overflow(Type type) {
209static public Exception ArgumentType(string function, int arg, Type type) {
213static public Exception ArgumentTypeInteger(string function, int arg) {
217static public Exception TypeMismatchInBinop(int op, Type type1, Type type2) {
221static public Exception AmbiguousBinop(int op, Type type1, Type type2) {
225static public Exception UnsupportedOperator(int op) {
229static public Exception InvalidNameBracketing(string name) {
233static public Exception MissingOperandBefore(string op) {
237static public Exception TooManyRightParentheses() {
241static public Exception UnresolvedRelation(string name, string expr) {
249static public Exception AggregateArgument() {
253static public Exception AggregateUnbound(string expr) {
257static public Exception EvalNoContext() {
261static public Exception ExpressionUnbound(string expr) {
265static public Exception ComputeNotAggregate(string expr) {
269static public Exception FilterConvertion(string expr) {
273static public Exception LookupArgument() {
277static public Exception InvalidType(string typeName) {
281static public Exception InvalidHoursArgument() {
285static public Exception InvalidMinutesArgument() {
289static public Exception InvalidTimeZoneRange() {
293static public Exception MismatchKindandTimeSpan() {
297static public Exception UnsupportedDataType(Type type)
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (18)
87static internal Exception CommandParameterStatus(string value, Exception inner) {
91static internal Exception UninitializedParameters(int index, OleDbType dbtype) {
94static internal Exception BadStatus_ParamAcc(int index, DBBindStatus status) {
97static internal Exception NoProviderSupportForParameters(string provider, Exception inner) {
100static internal Exception NoProviderSupportForSProcResetParameters(string provider) {
152static internal Exception PropsetSetFailure(string value, Exception inner) {
161static internal OleDbException NoErrorInformation(string provider, OleDbHResult hr, Exception inner) {
172static internal InvalidOperationException MDACNotAvailable(Exception inner) {
178static internal InvalidOperationException CommandTextNotSupported(string provider, Exception inner) {
184static internal InvalidOperationException ProviderUnavailable(string provider, Exception inner) {
188static internal InvalidOperationException TransactionsNotSupported(string provider, Exception inner) {
214static internal Exception InvalidOleDbType(OleDbType value) {
254static internal InvalidOperationException ThreadApartmentState(Exception innerException) {
262static internal ArgumentException Fill_EmptyRecordSet(string parameter, Exception innerException) {
265static internal ArgumentException Fill_EmptyRecord(string parameter, Exception innerException) {
fx\src\data\System\Data\OleDb\OleDbException.cs (4)
25internal OleDbException(string message, OleDbHResult errorCode, Exception inner) : base(message, inner) {
30internal OleDbException(OleDbException previous, Exception inner) : base(previous.Message, inner) {
35private OleDbException(string message, Exception inner, string source, OleDbHResult errorCode, OleDbErrorCollection errors) : base(message, inner) { // MDAC 84364
80static internal OleDbException CreateException(UnsafeNativeMethods.IErrorInfo errorInfo, OleDbHResult errorCode, Exception inner) { // MDAC 84364
fx\src\data\System\Data\SqlClient\SqlException.cs (3)
29private SqlException(string message, SqlErrorCollection errorCollection, Exception innerException, Guid conId) : base(message, innerException) {
138static internal SqlException CreateException(SqlErrorCollection errorCollection, string serverVersion, SqlInternalConnectionTds internalConnection, Exception innerException = null) {
155static internal SqlException CreateException(SqlErrorCollection errorCollection, string serverVersion, Guid conId, Exception innerException = null) {
fx\src\data\System\Data\SqlClient\SqlUtil.cs (316)
32internal static Task CreateContinuationTask(Task task, Action onSuccess, SqlInternalConnectionTds connectionToDoom = null, Action<Exception> onFailure = null) {
46internal static Task CreateContinuationTask<T1, T2>(Task task, Action<T1, T2> onSuccess, T1 arg1, T2 arg2, SqlInternalConnectionTds connectionToDoom = null, Action<Exception> onFailure = null) {
54Action<Exception> onFailure = null,
56Func<Exception, Exception> exceptionConverter = null,
63Exception exc = tsk.Exception.InnerException;
134catch (Exception e) {
142catch (Exception e) {
169internal static void SetTimeoutException(TaskCompletionSource<object> completion, int timeout, Func<Exception> exc, CancellationToken ctoken) {
233static internal Exception CannotGetDTCAddress() {
237static internal Exception InvalidOptionLength(string key) {
240static internal Exception InvalidInternalPacketSize (string str) {
243static internal Exception InvalidPacketSize() {
246static internal Exception InvalidPacketSizeValue() {
249static internal Exception InvalidSSPIPacketSize() {
252static internal Exception NullEmptyTransactionName() {
255static internal Exception SnapshotNotSupported(IsolationLevel level) {
258static internal Exception UserInstanceFailoverNotCompatible() {
261static internal Exception CredentialsNotProvided(SqlAuthenticationMethod auth) {
264static internal Exception AuthenticationAndIntegratedSecurity() {
267static internal Exception IntegratedWithUserIDAndPassword() {
270static internal Exception InteractiveWithoutUserID() {
273static internal Exception InteractiveWithPassword() {
276static internal Exception SettingIntegratedWithCredential() {
279static internal Exception SettingCredentialWithIntegratedArgument() {
282static internal Exception SettingCredentialWithIntegratedInvalid() {
285static internal Exception InvalidSQLServerVersionUnknown() {
288static internal Exception SynchronousCallMayNotPend() {
291static internal Exception ConnectionLockedForBcpEvent() {
294static internal Exception AsyncConnectionRequired() {
297static internal Exception FatalTimeout() {
300static internal Exception InstanceFailure() {
303static internal Exception ChangePasswordArgumentMissing(string argumentName) {
306static internal Exception ChangePasswordConflictsWithSSPI() {
309static internal Exception ChangePasswordRequiresYukon() {
312static internal Exception UnknownSysTxIsolationLevel(SysTx.IsolationLevel isolationLevel) {
315static internal Exception ChangePasswordUseOfUnallowedKey (string key) {
318static internal Exception InvalidPartnerConfiguration (string server, string database) {
321static internal Exception BatchedUpdateColumnEncryptionSettingMismatch () {
324static internal Exception MARSUnspportedOnConnection() {
328static internal Exception CannotModifyPropertyAsyncOperationInProgress(string property) {
331static internal Exception NonLocalSSEInstance() {
337static internal Exception UnsupportedAuthentication(string authentication) {
341static internal Exception UnsupportedSqlAuthenticationMethod(SqlAuthenticationMethod authentication) {
345static internal Exception CannotCreateAuthProvider(string authentication, string type, Exception e) {
349static internal Exception CannotCreateSqlAuthInitializer(string type, Exception e) {
353static internal Exception CannotInitializeAuthProvider(string type, Exception e) {
357static internal Exception UnsupportedAuthenticationByProvider(string authentication, string type) {
361static internal Exception CannotFindAuthProvider(string authentication) {
365static internal Exception CannotGetAuthProviderConfig(Exception e) {
369static internal Exception ParameterCannotBeEmpty(string paramName) {
376static internal Exception NotificationsRequireYukon() {
421static internal Exception OperationCancelled() {
422Exception exception = ADP.InvalidOperation(Res.GetString(Res.SQL_OperationCancelled));
426static internal Exception PendingBeginXXXExists() {
434static internal Exception NonXmlResult() {
441static internal Exception InvalidUdt3PartNameFormat() {
444static internal Exception InvalidParameterTypeNameFormat() {
447static internal Exception InvalidParameterNameLength(string value) {
450static internal Exception PrecisionValueOutOfRange(byte precision) {
453static internal Exception ScaleValueOutOfRange(byte scale) {
456static internal Exception TimeScaleValueOutOfRange(byte scale) {
459static internal Exception InvalidSqlDbType(SqlDbType value) {
462static internal Exception UnsupportedTVPOutputParameter(ParameterDirection direction, string paramName) {
466static internal Exception DBNullNotSupportedForTVPValues(string paramName) {
469static internal Exception InvalidTableDerivedPrecisionForTvp(string columnName, byte precision) {
472static internal Exception UnexpectedTypeNameForNonStructParams(string paramName) {
475static internal Exception SingleValuedStructNotSupported() {
478static internal Exception ParameterInvalidVariant(string paramName) {
482static internal Exception MustSetTypeNameForParam(string paramType, string paramName) {
485static internal Exception NullSchemaTableDataTypeNotSupported(string columnName) {
488static internal Exception InvalidSchemaTableOrdinals() {
491static internal Exception EnumeratedRecordMetaDataChanged(string fieldName, int recordNumber) {
494static internal Exception EnumeratedRecordFieldCountChanged(int recordNumber) {
505static internal Exception InvalidTDSVersion() {
508static internal Exception ParsingError(ParsingErrorState state) {
511static internal Exception ParsingError(ParsingErrorState state, Exception innerException) {
514static internal Exception ParsingErrorValue(ParsingErrorState state, int value) {
517static internal Exception ParsingErrorOffset(ParsingErrorState state, int offset) {
520static internal Exception ParsingErrorFeatureId(ParsingErrorState state, int featureId) {
523static internal Exception ParsingErrorToken(ParsingErrorState state, int token) {
526static internal Exception ParsingErrorLength(ParsingErrorState state, int length) {
529static internal Exception ParsingErrorStatus(ParsingErrorState state, int status) {
532static internal Exception ParsingErrorLibraryType(ParsingErrorState state, int libraryType) {
536static internal Exception MoneyOverflow(string moneyValue) {
539static internal Exception SmallDateTimeOverflow(string datetime) {
542static internal Exception SNIPacketAllocationFailure() {
545static internal Exception TimeOverflow(string time) {
552static internal Exception InvalidRead() {
556static internal Exception NonBlobColumn(string columnName) {
560static internal Exception NonCharColumn(string columnName) {
564static internal Exception StreamNotSupportOnColumnType(string columnName) {
568static internal Exception StreamNotSupportOnEncryptedColumn(string columnName) {
572static internal Exception SequentialAccessNotSupportedOnEncryptedColumn(string columnName) {
576static internal Exception TextReaderNotSupportOnColumnType(string columnName) {
580static internal Exception XmlReaderNotSupportOnColumnType(string columnName) {
584static internal Exception UDTUnexpectedResult(string exceptionText){
592static internal Exception CannotCompleteDelegatedTransactionWithOpenResults(SqlInternalConnectionTds internalConnection) {
597static internal SysTx.TransactionPromotionException PromotionFailed(Exception inner) {
606static internal Exception SqlCommandHasExistingSqlNotificationRequest(){
610static internal Exception SqlDepCannotBeCreatedInProc() {
614static internal Exception SqlDepDefaultOptionsButNoStart() {
618static internal Exception SqlDependencyDatabaseBrokerDisabled() {
622static internal Exception SqlDependencyEventNoDuplicate() {
626static internal Exception SqlDependencyDuplicateStart() {
630static internal Exception SqlDependencyIdMismatch() {
635static internal Exception SqlDependencyNoMatchingServerStart() {
639static internal Exception SqlDependencyNoMatchingServerDatabaseStart() {
643static internal Exception SqlNotificationException(SqlNotificationEventArgs notify){
650static internal Exception SqlMetaDataNoMetaData(){
654static internal Exception MustSetUdtTypeNameForUdtParams(){
658static internal Exception UnexpectedUdtTypeNameForNonUdtParams(){
662static internal Exception UDTInvalidSqlType(string typeName){
666static internal Exception InvalidSqlDbTypeForConstructor(SqlDbType type) {
670static internal Exception NameTooLong(string parameterName) {
674static internal Exception InvalidSortOrder(SortOrder order) {
678static internal Exception MustSpecifyBothSortOrderAndOrdinal(SortOrder order, int ordinal) {
682static internal Exception TableTypeCanOnlyBeParameter() {
685static internal Exception UnsupportedColumnTypeForSqlProvider(string columnName, string typeName) {
688static internal Exception InvalidColumnMaxLength(string columnName, long maxLength) {
691static internal Exception InvalidColumnPrecScale() {
694static internal Exception NotEnoughColumnsInStructuredType() {
697static internal Exception DuplicateSortOrdinal(int sortOrdinal) {
700static internal Exception MissingSortOrdinal(int sortOrdinal) {
703static internal Exception SortOrdinalGreaterThanFieldCount(int columnOrdinal, int sortOrdinal) {
706static internal Exception IEnumerableOfSqlDataRecordHasNoRows() {
715static internal Exception SqlPipeCommandHookedUpToNonContextConnection() {
719static internal Exception SqlPipeMessageTooLong( int messageLength ) {
723static internal Exception SqlPipeIsBusy() {
727static internal Exception SqlPipeAlreadyHasAnOpenResultSet( string methodName ) {
731static internal Exception SqlPipeDoesNotHaveAnOpenResultSet( string methodName ) {
738static internal Exception SqlResultSetClosed(string methodname) {
744static internal Exception SqlResultSetNoData(string methodname) {
747static internal Exception SqlRecordReadOnly(string methodname) {
754static internal Exception SqlResultSetRowDeleted(string methodname) {
761static internal Exception SqlResultSetCommandNotInSameConnection() {
765static internal Exception SqlResultSetNoAcceptableCursor() {
772static internal Exception BulkLoadMappingInaccessible() {
775static internal Exception BulkLoadMappingsNamesOrOrdinalsOnly() {
778static internal Exception BulkLoadCannotConvertValue(Type sourcetype, MetaType metatype, Exception e) {
781static internal Exception BulkLoadNonMatchingColumnMapping() {
784static internal Exception BulkLoadNonMatchingColumnName(string columnName) {
787static internal Exception BulkLoadNonMatchingColumnName(string columnName, Exception e) {
790static internal Exception BulkLoadStringTooLong() {
793static internal Exception BulkLoadInvalidVariantValue() {
796static internal Exception BulkLoadInvalidTimeout(int timeout) {
799static internal Exception BulkLoadExistingTransaction() {
802static internal Exception BulkLoadNoCollation() {
805static internal Exception BulkLoadConflictingTransactionOption() {
808static internal Exception BulkLoadLcidMismatch(int sourceLcid, string sourceColumnName, int destinationLcid, string destinationColumnName) {
811static internal Exception InvalidOperationInsideEvent() {
814static internal Exception BulkLoadMissingDestinationTable() {
817static internal Exception BulkLoadInvalidDestinationTable(string tableName, Exception inner) {
820static internal Exception BulkLoadBulkLoadNotAllowDBNull(string columnName) {
823static internal Exception BulkLoadPendingOperation() {
830static internal Exception InvalidKeyEncryptionAlgorithm(string encryptionAlgorithm, string validEncryptionAlgorithm, bool isSystemOp) {
839static internal Exception NullKeyEncryptionAlgorithm(bool isSystemOp) {
848static internal Exception EmptyColumnEncryptionKey() {
852static internal Exception NullColumnEncryptionKey() {
856static internal Exception EmptyEncryptedColumnEncryptionKey() {
860static internal Exception NullEncryptedColumnEncryptionKey() {
864static internal Exception LargeCertificatePathLength(int actualLength, int maxLength, bool isSystemOp) {
873static internal Exception NullCertificatePath(string[] validLocations, bool isSystemOp) {
883static internal Exception NullCspKeyPath(bool isSystemOp) {
892static internal Exception NullCngKeyPath(bool isSystemOp) {
901static internal Exception InvalidCertificatePath(string actualCertificatePath, string[] validLocations, bool isSystemOp) {
911static internal Exception InvalidCspPath(string masterKeyPath, bool isSystemOp) {
920static internal Exception InvalidCngPath(string masterKeyPath, bool isSystemOp) {
929static internal Exception EmptyCspName(string masterKeyPath, bool isSystemOp) {
938static internal Exception EmptyCngName(string masterKeyPath, bool isSystemOp) {
947static internal Exception EmptyCspKeyId(string masterKeyPath, bool isSystemOp) {
956static internal Exception EmptyCngKeyId(string masterKeyPath, bool isSystemOp) {
965static internal Exception InvalidCspName(string cspName, string masterKeyPath, bool isSystemOp) {
974static internal Exception InvalidCspKeyIdentifier(string keyIdentifier, string masterKeyPath, bool isSystemOp) {
983static internal Exception InvalidCngKey(string masterKeyPath, string cngProviderName, string keyIdentifier, bool isSystemOp) {
992static internal Exception InvalidCertificateLocation(string certificateLocation, string certificatePath, string[] validLocations, bool isSystemOp) {
1002static internal Exception InvalidCertificateStore(string certificateStore, string certificatePath, string validCertificateStore, bool isSystemOp) {
1011static internal Exception EmptyCertificateThumbprint(string certificatePath, bool isSystemOp) {
1020static internal Exception CertificateNotFound(string thumbprint, string certificateLocation, string certificateStore, bool isSystemOp) {
1029static internal Exception InvalidAlgorithmVersionInEncryptedCEK(byte actual, byte expected) {
1033static internal Exception InvalidCiphertextLengthInEncryptedCEK(int actual, int expected, string certificateName) {
1037static internal Exception InvalidCiphertextLengthInEncryptedCEKCsp(int actual, int expected, string masterKeyPath) {
1041static internal Exception InvalidCiphertextLengthInEncryptedCEKCng(int actual, int expected, string masterKeyPath) {
1045static internal Exception InvalidSignatureInEncryptedCEK(int actual, int expected, string masterKeyPath) {
1049static internal Exception InvalidSignatureInEncryptedCEKCsp(int actual, int expected, string masterKeyPath) {
1053static internal Exception InvalidSignatureInEncryptedCEKCng(int actual, int expected, string masterKeyPath) {
1057static internal Exception InvalidCertificateSignature(string certificatePath) {
1061static internal Exception InvalidSignature(string masterKeyPath) {
1065static internal Exception CertificateWithNoPrivateKey(string keyPath, bool isSystemOp) {
1077static internal Exception NullColumnEncryptionKeySysErr() {
1081static internal Exception InvalidKeySize(string algorithmName, int actualKeylength, int expectedLength) {
1089static internal Exception InvalidEncryptionType(string algorithmName, SqlClientEncryptionType encryptionType, params SqlClientEncryptionType[] validEncryptionTypes) {
1098static internal Exception NullPlainText () {
1102static internal Exception VeryLargeCiphertext(long cipherTextLength, long maxCipherTextSize, long plainTextLength) {
1106static internal Exception NullCipherText () {
1110static internal Exception InvalidCipherTextSize(int actualSize, int minimumSize) {
1114static internal Exception InvalidAlgorithmVersion(byte actual, byte expected) {
1118static internal Exception InvalidAuthenticationTag() {
1122static internal Exception NullColumnEncryptionAlgorithm (string supportedAlgorithms) {
1129static internal Exception UnexpectedDescribeParamFormatParameterMetadata () {
1133static internal Exception UnexpectedDescribeParamFormatAttestationInfo (string enclaveType) {
1137static internal Exception InvalidEncryptionKeyOrdinalEnclaveMetadata (int ordinal, int maxOrdinal) {
1140static internal Exception InvalidEncryptionKeyOrdinalParameterMetadata (int ordinal, int maxOrdinal) {
1144public static Exception MultipleRowsReturnedForAttestationInfo() {
1148static internal Exception ParamEncryptionMetadataMissing (string paramName, string procedureName) {
1152static internal Exception ParamInvalidForceColumnEncryptionSetting (string paramName, string procedureName) {
1156static internal Exception ParamUnExpectedEncryptionMetadata (string paramName, string procedureName) {
1160static internal Exception ProcEncryptionMetadataMissing (string procedureName) {
1164static internal Exception InvalidKeyStoreProviderName(string providerName, List<string> systemProviders, List<string> customProviders) {
1171static internal Exception UnableToVerifyColumnMasterKeySignature(Exception innerExeption)
1176static internal Exception ColumnMasterKeySignatureVerificationFailed (string cmkPath) {
1180static internal Exception ColumnMasterKeySignatureNotFound (string cmkPath) {
1187internal static Exception ExceptionWhenGeneratingEnclavePackage(Exception innerExeption) {
1191static internal Exception FailedToEncryptRegisterRulesBytePackage(Exception innerExeption) {
1195static internal Exception InvalidKeyIdUnableToCastToUnsignedShort(int keyId, Exception innerException) {
1199static internal Exception InvalidDatabaseIdUnableToCastToUnsignedInt(int databaseId, Exception innerException) {
1203static internal Exception InvalidAttestationParameterUnableToConvertToUnsignedInt(string variableName, int intValue, string enclaveType, Exception innerException) {
1207static internal Exception OffsetOutOfBounds(string argument, string type, string method) {
1211static internal Exception InsufficientBuffer(string argument, string type, string method) {
1215static internal Exception ColumnEncryptionKeysNotFound() {
1223static internal Exception AttestationInfoNotReturnedFromSqlServer(string enclaveType, string enclaveAttestationUrl) {
1230static internal Exception NullArgumentInConstructorInternal(string argumentName, string objectUnderConstruction) {
1234static internal Exception EmptyArgumentInConstructorInternal(string argumentName, string objectUnderConstruction) {
1238static internal Exception NullArgumentInternal(string argumentName, string type, string method) {
1242static internal Exception EmptyArgumentInternal(string argumentName, string type, string method) {
1249static internal Exception CannotGetSqlColumnEncryptionEnclaveProviderConfig(Exception innerException) {
1253static internal Exception CannotCreateSqlColumnEncryptionEnclaveProvider(string providerName, string type, Exception innerException) {
1257static internal Exception SqlColumnEncryptionEnclaveProviderNameCannotBeEmpty() {
1261static internal Exception NoAttestationUrlSpecifiedForEnclaveBasedQuerySpDescribe(string enclaveType) {
1265static internal Exception NoAttestationUrlSpecifiedForEnclaveBasedQueryGeneratingEnclavePackage(string enclaveType) {
1269static internal Exception EnclaveTypeNullForEnclaveBasedQuery() {
1273static internal Exception EnclaveProvidersNotConfiguredForEnclaveBasedQuery() {
1277static internal Exception EnclaveProviderNotFound(string enclaveType) {
1281static internal Exception NullEnclaveSessionReturnedFromProvider(string enclaveType, string attestationUrl) {
1288static internal Exception GetExceptionArray (string serverName, string errorMessage, Exception e) {
1291Exception exceptionToInclude = (null != e.InnerException) ? e.InnerException : e;
1308static internal Exception ParamEncryptionFailed (string paramName, string serverName, Exception e){
1312static internal Exception ParamDecryptionFailed (string paramName, string serverName, Exception e) {
1316static internal Exception ColumnDecryptionFailed (string columnName, string serverName, Exception e) {
1323static internal Exception UnknownColumnEncryptionAlgorithm (string algorithmName, string supportedAlgorithms) {
1327static internal Exception UnknownColumnEncryptionAlgorithmId (int algoId, string supportAlgorithmIds) {
1331static internal Exception UnsupportedNormalizationVersion (byte version) {
1335static internal Exception UnrecognizedKeyStoreProviderName(string providerName, List<string> systemProviders, List<string> customProviders) {
1342static internal Exception InvalidDataTypeForEncryptedParameter(string parameterName, int actualDataType, int expectedDataType) {
1346static internal Exception KeyDecryptionFailed (string providerName, string keyHex, Exception e) {
1355static internal Exception UntrustedKeyPath(string keyPath, string serverName) {
1359static internal Exception UnsupportedDatatypeEncryption (string dataType) {
1363static internal Exception ThrowDecryptionFailed (string keyStr, string valStr, Exception e) {
1367static internal Exception NullEnclaveSessionDuringQueryExecution (string enclaveType, string enclaveAttestationUrl) {
1371static internal Exception NullEnclavePackageForEnclaveBasedQuery (string enclaveType, string enclaveAttestationUrl) {
1378static internal Exception TceNotSupported() {
1382static internal Exception EnclaveComputationsNotSupported() {
1386static internal Exception EnclaveTypeNotReturned() {
1393static internal Exception CanOnlyCallOnce() {
1397static internal Exception NullCustomKeyStoreProviderDictionary() {
1401static internal Exception InvalidCustomKeyStoreProviderName(string providerName, string prefix) {
1405static internal Exception NullProviderValue(string providerName) {
1409static internal Exception EmptyProviderName() {
1416static internal Exception ConnectionDoomed() {
1420static internal Exception OpenResultCountExceeded() {
1427static internal Exception GlobalTransactionsNotEnabled() {
1431static internal Exception UnsupportedSysTxForGlobalTransactions() {
1455static internal Exception MultiSubnetFailoverWithFailoverPartner(bool serverProvidedFailoverPartner, SqlInternalConnectionTds internalConnection) {
1470static internal Exception MultiSubnetFailoverWithMoreThan64IPs() {
1475static internal Exception MultiSubnetFailoverWithInstanceSpecified() {
1480static internal Exception MultiSubnetFailoverWithNonTcpProtocol() {
1489static internal Exception ROR_FailoverNotSupportedConnString() {
1493static internal Exception ROR_FailoverNotSupportedServer(SqlInternalConnectionTds internalConnection) {
1501static internal Exception ROR_RecursiveRoutingNotSupported(SqlInternalConnectionTds internalConnection) {
1509static internal Exception ROR_UnexpectedRoutingInfo(SqlInternalConnectionTds internalConnection) {
1517static internal Exception ROR_InvalidRoutingInfo(SqlInternalConnectionTds internalConnection) {
1525static internal Exception ROR_TimeoutAfterRoutingInfo(SqlInternalConnectionTds internalConnection) {
1550static internal Exception CR_NextAttemptWillExceedQueryTimeout(SqlException innerException, Guid connectionId) {
1557static internal Exception CR_EncryptionChanged(SqlInternalConnectionTds internalConnection) {
1602static internal Exception BatchedUpdatesNotAvailableOnContextConnection() {
1605static internal Exception ContextAllowsLimitedKeywords() {
1608static internal Exception ContextAllowsOnlyTypeSystem2005() {
1611static internal Exception ContextConnectionIsInUse() {
1614static internal Exception ContextUnavailableOutOfProc() {
1617static internal Exception ContextUnavailableWhileInProc() {
1620static internal Exception NestedTransactionScopesNotSupported() {
1623static internal Exception NotAvailableOnContextConnection() {
1626static internal Exception NotificationsNotAvailableOnContextConnection() {
1629static internal Exception UnexpectedSmiEvent(Microsoft.SqlServer.Server.SmiEventSink_Default.UnexpectedEventType eventType) {
1633static internal Exception UserInstanceNotAvailableInProc() {
1636static internal Exception ArgumentLengthMismatch( string arg1, string arg2 ) {
1639static internal Exception InvalidSqlDbTypeOneAllowedType( SqlDbType invalidType, string method, SqlDbType allowedType ) {
1642static internal Exception SqlPipeErrorRequiresSendEnd( ) {
1645static internal Exception TooManyValues(string arg) {
1648static internal Exception StreamWriteNotSupported() {
1651static internal Exception StreamReadNotSupported() {
1654static internal Exception StreamSeekNotSupported() {
1664static internal Exception ParameterSizeRestrictionFailure(int index) {
1667static internal Exception SubclassMustOverride() {
fx\src\data\System\Data\SQLTypes\SQLUtility.cs (5)
63public SqlTypeException(String message, Exception e) : base(message, e) { // MDAC 82931
93public SqlNullValueException(String message, Exception e) : base(message, e) { // MDAC 82931
123public SqlTruncateException(String message, Exception e) : base(message, e) { // MDAC 82931
155 public SqlNotFilledException(String message, Exception e) : base(message, e) { // MDAC 82931
178 public SqlAlreadyFilledException(String message, Exception e) : base(message, e) { // MDAC 82931
System\IdentityModel\DiagnosticUtilityExtensions.cs (11)
17public static Exception ThrowHelperArgumentNullOrEmptyString(string arg)
22public static Exception ThrowHelperArgumentOutOfRange(string arg)
27public static Exception ThrowHelperArgumentOutOfRange(string arg, string message)
32public static Exception ThrowHelperArgumentOutOfRange(string arg, object actualValue, string message)
37public static Exception ThrowHelperConfigurationError(ConfigurationElement configElement, string propertyName, Exception inner)
82public static Exception ThrowHelperConfigurationError(ConfigurationElement configElement, string propertyName, string message)
115public static Exception ThrowHelperXml(XmlReader reader, string message)
120public static Exception ThrowHelperXml(XmlReader reader, string message, Exception inner)
130public static Exception ThrowHelperInvalidOperation(string message)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (42)
396catch (Exception e)
602catch (Exception inner)
834internal static Exception TryWrapReadException(XmlReader reader, Exception inner)
903catch (Exception e)
908Exception wrapped = TryWrapReadException(reader, e);
962catch (Exception e)
967Exception wrapped = TryWrapReadException(reader, e);
2393catch (Exception e)
2398Exception wrapped = TryWrapReadException(reader, e);
2522catch (Exception e)
2527Exception wrapped = TryWrapReadException(reader, e);
2775catch (Exception e)
2780Exception wrapped = TryWrapReadException(realReader, e);
3095catch (Exception e)
3100Exception wrapped = TryWrapReadException(reader, e);
3350catch (Exception e)
3355Exception wrapped = TryWrapReadException(reader, e);
3465catch (Exception e)
3470Exception wrapped = TryWrapReadException(reader, e);
3600catch (Exception e)
3605Exception wrapped = TryWrapReadException(reader, e);
3756catch (Exception e)
3761Exception wrapped = TryWrapReadException(reader, e);
3932catch (Exception e)
3937Exception wrapped = TryWrapReadException(reader, e);
4129catch (Exception e)
4134Exception wrapped = TryWrapReadException(reader, e);
4268catch (Exception e)
4273Exception wrapped = TryWrapReadException(reader, e);
4657catch (Exception e)
4662Exception wrapped = TryWrapReadException(reader, e);
4821catch (Exception e)
4826Exception wrapped = TryWrapReadException(reader, e);
5034catch (Exception e)
5039Exception wrapped = TryWrapReadException(reader, e);
5156catch (Exception e)
5161Exception wrapped = TryWrapReadException(reader, e);
5341catch (Exception e)
5346Exception wrapped = TryWrapReadException(reader, e);
5475catch (Exception e)
5480Exception wrapped = TryWrapReadException(reader, e);
System\ServiceModel\Channels\ChannelDemuxer.cs (59)
137catch (Exception e)
204Exception pendingInnerListenerOpenException;
245protected abstract void EnqueueAndDispatch(IChannelListener listener, Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread);
293catch (Exception e)
333catch (Exception e)
364protected void HandleUnknownException(Exception exception)
557catch (Exception e)
627catch (Exception e)
706catch (Exception e)
770static void WaitOverCallback(object state, Exception asyncException)
773Exception completionException = asyncException;
787catch (Exception e)
845catch (Exception e)
859Exception completionException = null;
865catch (Exception e)
885Exception completionException = null;
892catch (Exception e)
930Exception completionException = null;
936catch (Exception e)
1053Exception completionException = null;
1071catch (Exception e)
1149protected override void EnqueueAndDispatch(IChannelListener listener, Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread)
1211protected override void EnqueueAndDispatch(IChannelListener listener, Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread)
1384catch (Exception e)
1433catch (Exception e)
1488protected override void EnqueueAndDispatch(IChannelListener listener, Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread)
1614public void EnqueueAndDispatch(Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread)
1639Exception pendingExceptionOnOpen;
1743catch (Exception e)
1799catch (Exception e)
1847catch (Exception e)
1898catch (Exception e)
1939catch (Exception e)
2065catch (Exception e)
2232catch (Exception e)
2330catch (Exception e)
2345protected void HandleUnknownException(Exception exception)
2475Exception exception = null;
2481catch (Exception e)
2508Exception exception = null;
2514catch (Exception e)
2570static void WaitOverCallback(object state, Exception asyncException)
2574Exception completionException = asyncException;
2586catch (Exception e)
2641catch (Exception e)
2655Exception completionException = null;
2661catch (Exception e)
2808catch (Exception e)
2858catch (Exception e)
3008catch (Exception e)
3058catch (Exception e)
3775Exception completionException = null;
3782catch (Exception e)
3830Exception completionException = null;
3836catch (Exception e)
3908Exception completionException = null;
3915catch (Exception e)
3934Exception completionException = null;
3941catch (Exception e)
System\ServiceModel\Channels\ChannelRequirements.cs (5)
226public static Exception CantCreateListenerException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels, string bindingName)
231Exception exception = ChannelRequirements.BindingContractMismatchException(supportedChannels, requiredChannels, bindingName,
244public static Exception CantCreateChannelException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels, string bindingName)
249Exception exception = ChannelRequirements.BindingContractMismatchException(supportedChannels, requiredChannels, bindingName,
261public static Exception BindingContractMismatchException(IEnumerable<Type> supportedChannels, IEnumerable<Type> requiredChannels,
System\ServiceModel\Channels\FaultConverter.cs (10)
17protected abstract bool OnTryCreateException(Message message, MessageFault fault, out Exception exception);
18protected abstract bool OnTryCreateFaultMessage(Exception exception, out Message message);
20public bool TryCreateException(Message message, MessageFault fault, out Exception exception)
38Exception error = new InvalidOperationException(text);
47Exception error = new InvalidOperationException(text, exception);
55public bool TryCreateFaultMessage(Exception exception, out Message message)
64Exception error = new InvalidOperationException(text);
73Exception error = new InvalidOperationException(text);
90protected override bool OnTryCreateException(Message message, MessageFault fault, out Exception exception)
198protected override bool OnTryCreateFaultMessage(Exception exception, out Message message)
System\ServiceModel\Channels\HttpChannelHelpers.cs (44)
95catch (Exception e)
147Exception inner = new QuotaExceededException(message);
249Exception ProcessHttpAddressing(Message message)
251Exception result = null;
437public Message EndParseIncomingMessage(IAsyncResult result, out Exception requestException)
473public Message ParseIncomingMessage(out Exception requestException)
478public Message ParseIncomingMessage(HttpRequestMessage httpRequestMessage, out Exception requestException)
600internal static ProtocolException CreateHttpProtocolException(string message, HttpStatusCode statusCode, string statusDescription, Exception innerException)
639Exception requestException = null;
777Exception completionException = null;
784catch (Exception e)
801public static Message End(IAsyncResult result, out Exception requestException)
908catch (Exception exception)
1055private Exception CreateResponseIOException(IOException ioException)
1743Exception completionException = null;
1750catch (Exception ex)
2229Exception completionException = null;
2236catch (Exception ex)
2273Exception completionException = null;
2293catch (Exception e)
2313Exception completionException = null;
2319catch (Exception e)
2346Exception completionException = null;
2353catch (Exception e)
2779Exception completionException = null;
2785catch (Exception e)
3205public static Exception CreateCommunicationException(HttpListenerException listenerException)
3255internal static void HandleContinueWithTask(Task task, Action<Exception> exceptionHandler)
3512Exception convertedException = ConvertWebException(webException, request, abortReason);
3588public static Exception ConvertWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
3625public static Exception CreateResponseIOException(IOException ioException, TimeSpan receiveTimeout)
3635public static Exception CreateResponseWebException(WebException webException, HttpWebResponse response)
3651public static Exception CreateRequestCanceledException(Exception webException, HttpWebRequest request, HttpAbortReason abortReason)
3664public static Exception CreateRequestIOException(IOException ioException, HttpWebRequest request)
3669public static Exception CreateRequestIOException(IOException ioException, HttpWebRequest request, Exception originalException)
3671Exception exception = originalException == null ? ioException : originalException;
3686public static Exception CreateRequestWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
3688Exception convertedException = ConvertWebException(webException, request, abortReason);
3714static Exception CreateUnexpectedResponseException(WebException responseException, HttpWebResponse response)
3725public static Exception CreateNullReferenceResponseException(NullReferenceException nullReferenceException)
3749static Exception TraceResponseException(Exception exception)
System\ServiceModel\Channels\PeerNeighborManager.cs (25)
216PeerCloseInitiator closeInitiator, Exception closeException)
263PeerCloseInitiator closeInitiator, Exception closeException)
312catch (Exception e)
400PeerCloseInitiator closeInitiator, Exception closeException, IAsyncResult endResult)
417catch (Exception e)
699catch (Exception e)
707catch (Exception ee)
766Exception closeException;
833public Exception CloseException
996PeerCloseInitiator closeInit, Exception exception,
1027catch (Exception e)
1364public void TraceEventHelper(TraceEventType severity, int traceCode, string traceDescription, Exception e)
1370public void TraceEventHelper(TraceEventType severity, int traceCode, string traceDescription, Exception e,
1413Exception lastException;
1465catch (Exception e)
1472catch (Exception ee)
1482catch (Exception e)
1507bool ContinuableException(Exception exception)
1527Exception exception = null;
1540catch (Exception e)
1547catch (Exception ee)
1560catch (Exception ee)
1631catch (Exception e)
1647Exception exception = null;
1654catch (Exception e)
System\ServiceModel\Channels\PipeConnection.cs (34)
53Exception asyncReadException;
63Exception asyncWriteException;
202Exception ConvertPipeException(PipeException pipeException, TransferOperation transferOperation)
207Exception ConvertPipeException(string exceptionMessage, PipeException pipeException, TransferOperation transferOperation)
305Exception readException = Exceptions.GetOverlappedReadException(this.pipe, this.readOverlapped.NativeOverlapped, out bytesRead);
398Exception writeException = Exceptions.GetOverlappedWriteException(this.pipe, this.writeOverlapped.NativeOverlapped, out bytesWritten);
634Exception innerException = new PipeException(SR.GetString(SR.PipeDuplicationFailed), win32Error);
691Exception exceptionToThrow = asyncReadException;
702Exception exceptionToThrow = this.asyncWriteException;
839Exception CreatePipeClosedException(TransferOperation transferOperation)
890catch (Exception e)
920Exception writeException = null;
960catch (Exception e)
1124Exception exception = ConvertPipeException(new PipeException(SR.GetString(SR.PipeSignalExpected)), TransferOperation.Read);
1411Exception timeoutException = new TimeoutException(SR.GetString(SR.PipeReadTimedOut, timeout));
1433Exception readException;
1511Exception timeoutException = new TimeoutException(SR.GetString(SR.PipeWriteTimedOut, timeout));
1533Exception writeException;
1644Exception CreateConnectFailedException(Uri remoteUri, PipeException innerException)
1836Exception innerException = new PipeException(SR.GetString(SR.PipeConnectAddressFailed,
1931Exception exception = null;
1950catch (Exception e)
2065Exception innerException = new PipeException(e.Message, e);
2090Exception innerException = new PipeException(SR.GetString(SR.PipeListenFailed,
2250Exception CreatePipeAcceptFailedException(int errorCode)
2252Exception innerException = new PipeException(SR.GetString(SR.PipeAcceptFailed,
2260Exception completionException = null;
2319catch (Exception e)
2545Exception innerException = new PipeException(e.Message, e);
2571Exception innerException = new PipeException(SR.GetString(SR.PipeNameCantBeReserved,
2711public static Exception CreatePipeNameInUseException(int error, Uri pipeUri)
2713Exception innerException = new PipeException(SR.GetString(SR.PipeNameInUse, pipeUri.AbsoluteUri), error);
2717static Exception CreatePipeNameCannotBeAccessedException(int error, Uri pipeUri)
2719Exception innerException = new PipeException(SR.GetString(SR.PipeNameCanNotBeAccessed,
System\ServiceModel\Channels\ReceiveContext.cs (12)
81public virtual void Abandon(Exception exception, TimeSpan timeout)
142public virtual IAsyncResult BeginAbandon(Exception exception, TimeSpan timeout, AsyncCallback callback, object state)
241protected virtual void OnAbandon(Exception exception, TimeSpan timeout)
248protected virtual IAsyncResult OnBeginAbandon(Exception exception, TimeSpan timeout, AsyncCallback callback, object state)
284catch (Exception exception)
407Exception WrapStateException(Exception exception)
414Exception exception;
417public AbandonAsyncResult(ReceiveContext receiveContext, Exception exception, TimeSpan timeout, AsyncCallback callback, object state)
693static void OnWaitForStateLockComplete(object state, Exception asyncException)
697Exception completeException = null;
714catch (Exception e)
System\ServiceModel\Channels\SocketConnection.cs (40)
57Exception asyncReadException;
64Exception asyncWriteException;
162Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Undefined);
236catch (Exception exception)
449catch (Exception e)
574Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Undefined);
645catch (Exception exception)
681Exception ConvertSendException(SocketException socketException, TimeSpan remainingTime, TimeSpan timeout)
687Exception ConvertReceiveException(SocketException socketException, TimeSpan remainingTime, TimeSpan timeout)
693internal static Exception ConvertTransferException(SocketException socketException, TimeSpan timeout, Exception originalException)
699Exception ConvertObjectDisposedException(ObjectDisposedException originalException, TransferOperation transferOperation)
715static Exception ConvertTransferException(SocketException socketException, TimeSpan timeout, Exception originalException,
804static Exception ConvertTimeoutErrorException(Exception originalException,
894Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Write);
953catch (Exception exception)
1053Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Write);
1117Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Read);
1214Exception exceptionToThrow = ConvertObjectDisposedException(objectDisposedException, TransferOperation.Read);
1286catch (Exception exception)
1318catch (Exception exception)
1581public static Exception ConvertConnectException(SocketException socketException, Uri remoteUri, TimeSpan timeSpent, Exception innerException)
1773Exception traceException = ConvertConnectException(socketException, remoteUri, timeSpentInConnect, socketException);
1833Exception completionException = null;
1839catch (Exception e)
1922Exception completionException = null;
1939catch (Exception e)
2141public static Exception ConvertListenException(SocketException socketException, IPEndPoint localEndpoint)
2169static Action<AsyncResult, Exception> onCompleting = new Action<AsyncResult, Exception>(OnInternalCompleting);
2239Exception completionException = null;
2246catch (Exception e)
2304Exception exception = HandleAcceptAsyncCompleted();
2317Exception completionException = thisPtr.HandleAcceptAsyncCompleted();
2329static void OnInternalCompleting(AsyncResult result, Exception exception)
2364Exception HandleAcceptAsyncCompleted()
2366Exception completionException = null;
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (8)
212Exception exception;
214protected PeerSecurityTraceRecord(string meshId, string remoteAddress, ClaimSet claimSet, Exception exception)
261public PeerAuthenticationFailureTraceRecord(string meshId, string remoteAddress, ClaimSet claimSet, Exception e)
278public PeerSignatureFailureTraceRecord(string meshId, Uri via, ClaimSet claimSet, Exception exception)
303Exception exception;
305public PeerFlooderTraceRecord(string meshId, PeerNodeAddress fromAddress, Exception e)
441Exception exception;
443public PnrpResolveExceptionTraceRecord(string peerName, string cloudName, Exception exception)
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (20)
160internal static void TraceServiceSecurityNegotiationFailure<T>(EventTraceActivity eventTraceActivity, NegotiationTokenAuthenticator<T> authenticator, Exception e)
213internal static void TraceIdentityHostNameNormalizationFailure(EndpointAddress epr, Type identityVerifier, Exception e)
320internal static void TraceSpnToSidMappingFailure(string spn, Exception e)
461internal static void TraceRenewFaultSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e)
467internal static void TraceSessionAbortedFaultSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e)
473internal static void TraceSessionClosedResponseSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e)
479internal static void TraceSessionCloseSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e)
497internal static void TraceSecuritySessionOperationFailure(SecuritySessionOperation operation, EndpointAddress target, SecurityToken currentToken, Exception e)
503internal static void TraceServerSessionOperationException(SecuritySessionOperation operation, Exception e, Uri listenAddress)
521internal static void TraceImpersonationFailed(EventTraceActivity eventTraceActivity, DispatchOperationRuntime operation, Exception e)
628Exception e;
631public SessionResponderTraceRecord(SecuritySessionOperation operation, Exception e, Uri listenAddress)
662Exception e;
673public SessionRequestorTraceRecord(SecuritySessionOperation operation, SecurityToken currentToken, Exception e, EndpointAddress target)
852Exception e;
854public SpnToSidMappingTraceRecord(string spn, Exception e)
992Exception e;
1001public NegotiationAuthenticatorTraceRecord(NegotiationTokenAuthenticator<T> authenticator, Exception e)
1202Exception e;
1205public IdentityHostNameNormalizationFailureTraceRecord(EndpointAddress epr, Type identityVerifier, Exception e)
System\ServiceModel\Diagnostics\TraceUtility.cs (23)
492catch (Exception e)
511catch (Exception e)
565catch (Exception e)
683TraceEvent(severity, traceCode, traceDescription, null, traceDescription, (Exception)null);
688TraceEvent(severity, traceCode, traceDescription, extendedData, null, (Exception)null);
693TraceEvent(severity, traceCode, traceDescription, null, source, (Exception)null);
696internal static void TraceEvent(TraceEventType severity, int traceCode, string traceDescription, object source, Exception exception)
705TraceEvent(severity, traceCode, traceDescription, null, (Exception)null);
722internal static void TraceEvent(TraceEventType severity, int traceCode, string traceDescription, Exception exception, Message message)
731internal static void TraceEventNoCheck(TraceEventType severity, int traceCode, string traceDescription, TraceRecord extendedData, object source, Exception exception)
739internal static void TraceEvent(TraceEventType severity, int traceCode, string traceDescription, TraceRecord extendedData, object source, Exception exception)
748internal static void TraceEvent(TraceEventType severity, int traceCode, string traceDescription, TraceRecord extendedData, object source, Exception exception, Message message)
758internal static void TraceEventNoCheck(TraceEventType severity, int traceCode, string traceDescription, TraceRecord extendedData, object source, Exception exception, Guid activityId)
765internal static void TraceEvent(TraceEventType severity, int traceCode, string traceDescription, TraceRecord extendedData, object source, Exception exception, Guid activityId)
816internal static Exception ThrowHelperError(Exception exception, Message message)
828internal static Exception ThrowHelperError(Exception exception, Guid activityId, object source)
838internal static Exception ThrowHelperWarning(Exception exception, Message message)
878internal static void TraceUserCodeException(Exception e, MethodInfo method)
1278catch (Exception exception)
1300catch (Exception exception)
System\ServiceModel\Dispatcher\ChannelHandler.cs (28)
489catch (Exception e)
752void ProvideFault(Exception e, ref ErrorHandlerFaultInfo faultInfo)
765internal bool HandleError(Exception e)
771bool HandleError(Exception e, ref ErrorHandlerFaultInfo faultInfo)
792bool HandleError(Exception e, RequestContext request, ServiceChannel channel)
808bool HandleErrorContinuation(Exception e, RequestContext request, ServiceChannel channel, ref ErrorHandlerFaultInfo faultInfo, bool replied)
816catch (Exception e1)
840catch (Exception e2)
852catch (Exception e3)
875catch (Exception e4)
1081Exception exception = null;
1086catch (Exception e)
1219void ProvideFaultAndReplyFailure(RequestContext request, Exception exception, ref ErrorHandlerFaultInfo faultInfo, out bool replied, out bool replySentAsync)
1229catch (Exception e)
1290catch (Exception e)
1326catch (Exception e)
1375catch (Exception e)
1391catch (Exception e)
1407catch (Exception e)
1434catch (Exception e)
1518catch (Exception ex)
1603catch (Exception ex)
1758catch (Exception ex)
1820catch (Exception ex)
1833catch (Exception e)
1872catch (Exception e)
1907catch (Exception e)
2078public Exception Exception;
HttpException.cs (15)
83internal HttpException(String message, Exception innerException, int code)
105public HttpException(String message, Exception innerException)
116public HttpException(int httpCode, String message, Exception innerException)
185internal static int GetHttpCodeForException(Exception e) {
220internal static ErrorFormatter GetErrorFormatter(Exception e) {
221Exception inner = e.InnerException;
284public HttpUnhandledException(string message, Exception innerException)
292internal HttpUnhandledException(string message, string postMessage, Exception innerException)
322public HttpCompileException(String message, Exception innerException) : base(message, innerException) {
471public HttpParseException(String message, Exception innerException) : base(message, innerException) {
475public HttpParseException(string message, Exception innerException, string virtualPath,
479internal HttpParseException(string message, Exception innerException, VirtualPath virtualPath,
589public HttpRequestValidationException(String message, Exception innerException) : base(message, innerException) {
602private Exception _exception;
618internal Exception Exception {
Management\WebEvents.cs (24)
98internal void LogException(Exception e) {
340static void FindEventCode(Exception e, ref int eventCode, ref int eventDetailsCode, ref Exception eStack) {
402static internal void RaiseRuntimeError(Exception e, object source) {
413Exception eStack = null;
601catch (Exception e) {
635internal static void RaiseSystemEvent(string message, object source, int eventCode, int eventDetailCode, Exception exception) {
647internal static void RaiseSystemEvent(object source, int eventCode, int eventDetailCode, Exception exception) {
657int eventCode, int eventDetailCode, Exception exception,
841object source,int eventCode, int eventDetailCode, Exception exception,
1018static internal void RaisePropertyDeserializationWebErrorEvent(SettingsProperty property, object source, Exception exception) {
1308Exception _exception;
1310void Init(Exception e) {
1314internal protected WebBaseErrorEvent(string message, object eventSource, int eventCode, Exception e)
1320internal protected WebBaseErrorEvent(string message, object eventSource, int eventCode, int eventDetailCode, Exception e)
1330public Exception ErrorException {
1341Exception ex = _exception;
1384void Init(Exception e) {
1393internal protected WebErrorEvent(string message, object eventSource, int eventCode, Exception exception)
1399internal protected WebErrorEvent(string message, object eventSource, int eventCode, int eventDetailCode, Exception exception)
1481void Init(Exception e) {
1490internal protected WebRequestErrorEvent(string message, object eventSource, int eventCode, Exception exception)
1496internal protected WebRequestErrorEvent(string message, object eventSource, int eventCode, int eventDetailCode, Exception exception)
2143internal WebThreadInformation(Exception exception) {
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
73catch (Exception e) {