97 types derived from Exception
mscorlib (12)
system\AggregateException.cs (1)
36public class AggregateException : Exception
system\applicationexception.cs (1)
29public class ApplicationException : Exception {
system\diagnostics\contracts\contractsbcl.cs (1)
214internal sealed class ContractException : Exception
system\diagnostics\eventing\eventsourceexception.cs (1)
30public class EventSourceException : Exception
system\invalidtimezoneexception.cs (1)
14public class InvalidTimeZoneException : Exception {
system\io\isolatedstorage\isolatedstorageexception.cs (1)
24public class IsolatedStorageException : Exception
system\reflection\mdimport.cs (1)
749internal class MetadataException : Exception
system\runtime\compilerservices\RuntimeWrappedException.cs (1)
24public sealed class RuntimeWrappedException : Exception
system\systemexception.cs (1)
12public class SystemException : Exception
system\threading\lockrecursionexception.cs (1)
30public class LockRecursionException : System.Exception
system\threading\Tasks\TaskSchedulerException.cs (1)
28public class TaskSchedulerException : Exception
system\timezonenotfoundexception.cs (1)
14public class TimeZoneNotFoundException : Exception {
PresentationBuildTasks (1)
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
2705private class MappingParseError : Exception
PresentationCore (1)
Core\CSharp\System\Windows\DataObject.cs (1)
3750private class RestrictedTypeDeserializationException : Exception
PresentationFramework (3)
src\Framework\MS\Internal\PtsHost\Pts.cs (2)
273private class SecondaryException : Exception 308private class PtsException : Exception
src\Framework\System\Windows\Controls\PrintDialogException.cs (1)
11public class PrintDialogException : Exception
SMDiagnostics (1)
System\ServiceModel\Diagnostics\PlainXmlWriter.cs (1)
18internal class MaxSizeExceededException : Exception
System (5)
net\System\Net\mail\SmtpException.cs (1)
15public class SmtpException : Exception, ISerializable
sys\system\configuration\SettingsPropertyIsReadOnlyException.cs (1)
16public class SettingsPropertyIsReadOnlyException : Exception
sys\system\configuration\SettingsPropertyNotFoundException.cs (1)
18public class SettingsPropertyNotFoundException : Exception
sys\system\configuration\SettingsPropertyWrongTypeException.cs (1)
16public class SettingsPropertyWrongTypeException : Exception {
sys\system\threading\Barrier.cs (1)
34public class BarrierPostPhaseException : Exception
System.Activities (7)
System\Activities\DynamicUpdate\InstanceUpdateException.cs (1)
16public class InstanceUpdateException : Exception
System\Activities\ExpressionParser\SourceExpressionException.cs (1)
16public class SourceExpressionException : Exception, ISerializable
System\Activities\Expressions\LambdaSerializationException.cs (1)
11public class LambdaSerializationException : Exception
System\Activities\InvalidWorkflowException.cs (1)
13public class InvalidWorkflowException : Exception
System\Activities\Statements\WorkflowTerminatedException.cs (1)
11public class WorkflowTerminatedException : Exception
System\Activities\VersionMismatchException.cs (1)
13public class VersionMismatchException : Exception
System\Activities\WorkflowApplicationException.cs (1)
14public class WorkflowApplicationException : Exception
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\AttributeTableValidationException.cs (1)
21public class AttributeTableValidationException : Exception
System.AddIn (4)
System\Addin\Hosting\AddInSegmentDirectoryNotFoundException.cs (1)
13public class AddInSegmentDirectoryNotFoundException : Exception
System\Addin\Hosting\AddInStore.cs (1)
1517internal class AddInBaseInAddInFolderException : Exception
System\Addin\Hosting\InvalidPipelineStoreException.cs (1)
13public class InvalidPipelineStoreException : Exception
System\Addin\MiniReflection\GenericsNotImplementedException.cs (1)
13internal class GenericsNotImplementedException : Exception {
System.ComponentModel.DataAnnotations (1)
DataAnnotations\ValidationException.cs (1)
18public class ValidationException : Exception {
System.Configuration (1)
System\Configuration\ProviderException.cs (1)
12public class ProviderException : Exception
System.Core (3)
System\Diagnostics\Eventing\Reader\EventLogException.cs (1)
23public class EventLogException : Exception, ISerializable {
System\Linq\Enumerable.cs (1)
2758internal sealed class SystemCore_EnumerableDebugViewEmptyException : Exception
System\Management\Automation\Exceptions.cs (1)
11public class InstrumentationBaseException : Exception
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\AttributeTableValidationException.cs (1)
21public class AttributeTableValidationException : Exception
System.Data.Entity.Design (1)
System\Data\EntityModel\TerminalErrorException.cs (1)
23internal class TerminalErrorException : Exception
System.Data.Linq (1)
Exceptions.cs (1)
13public class ChangeConflictException : Exception {
System.IdentityModel (4)
System\IdentityModel\AsynchronousOperationException.cs (1)
14public class AsynchronousOperationException : Exception
System\IdentityModel\Metadata\MetadataSerializationException.cs (1)
15public class MetadataSerializationException : Exception
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationException.cs (1)
16public class WSTrustSerializationException : Exception, ISerializable
System\IdentityModel\RequestException.cs (1)
14public abstract class RequestException : Exception
System.IdentityModel.Selectors (11)
infocard\client\System\IdentityModel\Selectors\CardSpaceException.cs (1)
64public class CardSpaceException : System.Exception
infocard\client\System\IdentityModel\Selectors\IdentityValidationException.cs (1)
12public class IdentityValidationException : System.Exception
infocard\client\System\IdentityModel\Selectors\InfoCardBaseException.cs (1)
11internal abstract class InfoCardBaseException : System.Exception
infocard\client\System\IdentityModel\Selectors\PolicyValidationException.cs (1)
16public class PolicyValidationException : System.Exception
infocard\client\System\IdentityModel\Selectors\ServiceBusyException.cs (1)
16public class ServiceBusyException : System.Exception
infocard\client\System\IdentityModel\Selectors\ServiceNotStartedException.cs (1)
15public class ServiceNotStartedException : System.Exception
infocard\client\System\IdentityModel\Selectors\StsCommunicationException.cs (1)
14public class StsCommunicationException : System.Exception
infocard\client\System\IdentityModel\Selectors\UIInitializationException.cs (1)
15internal class UIInitializationException : Exception
infocard\client\System\IdentityModel\Selectors\UnsupportedPolicyOptionsException.cs (1)
16public class UnsupportedPolicyOptionsException : System.Exception
infocard\client\System\IdentityModel\Selectors\UntrustedRecipientException.cs (1)
16public class UntrustedRecipientException : System.Exception
infocard\client\System\IdentityModel\Selectors\UserCancellationException.cs (1)
15public class UserCancellationException : System.Exception
System.IO.Log (1)
System\IO\Log\SequenceFullException.cs (1)
10public class SequenceFullException : Exception
System.Net (1)
net\PeerToPeer\PeerToPeerException.cs (1)
29public class PeerToPeerException : Exception, ISerializable
System.Runtime.DurableInstancing (2)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (1)
1690class BindReclaimedLockException : Exception
System\Runtime\DurableInstancing\InstancePersistenceException.cs (1)
13public class InstancePersistenceException : Exception
System.Runtime.Remoting (2)
metadata\sudsparser.cs (1)
29public class SUDSParserException : Exception
metadata\sudswriter.cs (1)
28 public class SUDSGeneratorException : Exception
System.Runtime.Serialization (1)
System\Runtime\Serialization\InvalidDataContractException.cs (1)
10public class InvalidDataContractException : Exception
System.ServiceModel (6)
System\ServiceModel\Channels\InvalidChannelBindingException.cs (1)
11public class InvalidChannelBindingException : Exception
System\ServiceModel\ComIntegration\Error.cs (2)
136internal class ComPlusListenerInitializationException : Exception 159internal class ComPlusProxyProviderException : Exception
System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
216internal class MaxItemsEnumeratorExceededMaxItemsException : Exception { }
System\ServiceModel\Description\OperationGenerator.cs (1)
1043class ParameterModeException : Exception
System\ServiceModel\Description\WsdlImporter.cs (1)
1933class WsdlImportException : Exception
System.Web (3)
Hosting\HostingEnvironmentException.cs (1)
13internal class HostingEnvironmentException : Exception {
UI\ViewStateException.cs (1)
10public sealed class ViewStateException : Exception, ISerializable {
Util\AppVerifierException.cs (1)
13internal sealed class AppVerifierException : Exception {
System.Web.ApplicationServices (2)
Security\MembershipCreateUserException.cs (1)
15public class MembershipCreateUserException : Exception {
Security\MembershipPasswordException.cs (1)
16public class MembershipPasswordException : Exception
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceValidationException.cs (1)
21public sealed class EntityDataSourceValidationException : Exception, IDynamicValidatorException
System.Web.Extensions (2)
UI\WebControls\Dynamic.cs (1)
420public class ParseException : Exception
UI\WebControls\LinqDataSourceValidationException.cs (1)
20public class LinqDataSourceValidationException : Exception, IDynamicValidatorException, ISerializable {
System.Web.Services (2)
System\Web\Services\Discovery\InvalidContentTypeException.cs (1)
11internal class InvalidContentTypeException : Exception {
System\Web\Services\Discovery\InvalidDocumentContentsException.cs (1)
11internal class InvalidDocumentContentsException : Exception {
System.Windows.Forms (2)
winforms\Managed\System\WinForms\AxHost.cs (1)
3851public class InvalidActiveXStateException : Exception {
winforms\Managed\System\WinForms\DataObject.cs (1)
1828private class RestrictedTypeDeserializationException : Exception {
System.Workflow.Activities (1)
Rules\Exceptions.cs (1)
18public class RuleException : Exception, ISerializable
System.Workflow.ComponentModel (3)
AuthoringOM\ActivityInterfaces.cs (1)
179public sealed class WorkflowTerminatedException : Exception
AuthoringOM\Compiler\Validation\WorkflowValidationFailedException.cs (1)
10public sealed class WorkflowValidationFailedException : Exception
AuthoringOM\Serializer\WorkflowMarkupSerializationException.cs (1)
26public class WorkflowMarkupSerializationException : Exception
System.Workflow.Runtime (3)
ExecutorLocksHeldException.cs (1)
45internal class ExecutorLocksHeldException : Exception
Hosting\SqlWorkflowPersistenceService.cs (1)
56private class RetryReadException : Exception
WorkflowOwnershipException.cs (1)
17public class WorkflowOwnershipException : Exception
System.WorkflowServices (1)
System\ServiceModel\Dispatcher\WorkflowOperationErrorHandler.cs (1)
35class WorkflowOperationUnhandledException : Exception
System.Xml (2)
System\Xml\Schema\ContentValidator.cs (1)
21class UpaException : Exception {
System\Xml\Serialization\CodeGenerator.cs (1)
2747internal class CodeGeneratorConversionException : Exception {
WindowsBase (1)
Base\System\Security\RightsManagement\Exceptions.cs (1)
31public class RightsManagementException : Exception
WsatConfig (1)
Configuration\WsatAdminException.cs (1)
9class WsatAdminException : Exception
WsatUI (1)
Configuration\WsatAdminException.cs (1)
9class WsatAdminException : Exception
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\LoggableException.cs (1)
11class LoggableException : Exception
204 instantiations of Exception
mscorlib (3)
system\deployment\isolationinterop.cs (1)
2555throw new Exception("How did you get here?");
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (2)
1080e = new Exception(message, innerException); 1085e = new Exception(message);
PresentationBuildTasks (1)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
764Exception compilerException = new Exception(message);
PresentationCore (3)
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatterContext.cs (1)
488throw new Exception(message);
Shared\MS\Internal\SecurityHelper.cs (1)
965Marshal.GetHRForException(new Exception());
Shared\System\Windows\Interop\OSVersionHelper.cs (1)
344throw new Exception("OSVersionHelper.GetOsVersion Could not detect OS!");
PresentationFramework (91)
src\Framework\MS\Internal\PtsHost\PtsHost.cs (89)
191PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 235PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 278PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 308PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 339PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 366PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 400PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 441PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 467PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 502PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 537PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 563PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 599PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 660PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 690PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 718PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 747PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 771PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 797PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 823PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 846PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 884PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 911PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1046PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1069PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1104PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1143PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1182PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1241PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1279PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1307PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1414PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1474PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1533PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1661PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1721PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1756PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1779PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1825PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1854PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1882PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 1920PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2032PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2096PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2150PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2216PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2244PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2286PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2316PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2372PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2416PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2459PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2503PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2757PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2793PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2882PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 2944PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3007PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3038PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3251PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3309PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3372PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3542PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3572PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3607PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3637PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3668PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3700PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3731PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3763PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3793PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3824PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3864PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3900PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3934PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3965PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 3993PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4021PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4055PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4084PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4129PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4183PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4226PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4271PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4329PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4376PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4403PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4430PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception"); 4456PtsContext.CallbackException = new System.Exception("Caught a non CLS Exception");
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
1113Exception exception = new Exception(sb.ToString());
src\Framework\System\Windows\Standard\NativeMethods.cs (1)
1644throw new Exception("Unable to initialize GDI+");
System.Configuration (3)
System\Configuration\GenericEnumConverter.cs (3)
46throw new Exception(); 54throw new Exception(); 58throw new Exception();
System.Data (1)
fx\src\data\System\Data\Sql\sqlnorm.cs (1)
110throw new Exception("could not find Null field/property in nullable type " + t);
System.Data.Entity (1)
System\Data\Query\InternalTrees\Command.cs (1)
413throw new Exception("duplicate parameter name: " + parameterName);
System.Data.Linq (1)
SqlClient\Common\SqlVisitor.cs (1)
255throw new Exception("Infinite Descent?");
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (1)
295throw new Exception(prompt);
System.Management (4)
Instrumentation\EventSource.cs (1)
399throw new Exception();
Instrumentation\Instrumentation.cs (2)
206throw new Exception(RC.GetString("ASSEMBLY_NOT_REGISTERED")); 344throw new Exception(RC.GetString("FAILED_TO_BUILD_GENERATED_ASSEMBLY"));
Instrumentation\SchemaMapping.cs (1)
78 throw new Exception(RC.GetString("CLASSINST_EXCEPT"));
System.ServiceModel (2)
System\ServiceModel\Channels\ServiceChannel.cs (1)
1356instanceContext.Transaction.CompletePendingTransaction(instanceContext.Transaction.Attached, new Exception()); // error!=null forces Tx rollback
System\ServiceModel\InstanceContext.cs (1)
416error = new Exception();
System.Web.DynamicData (4)
DynamicData\DynamicControl.cs (1)
125throw new Exception(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicControlParameter.cs (2)
75throw new Exception(String.Format(CultureInfo.CurrentCulture, 129throw new Exception(String.Format(CultureInfo.CurrentCulture,
DynamicData\Util\DataControlHelper.cs (1)
37throw new Exception(String.Format(
System.Web.Extensions (2)
ApplicationServices\ProfileService.cs (1)
306throw new Exception(AtlasWeb.UserIsNotAuthenticated);
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
934new Exception(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_DataContractExcludedAndIncluded, excludedType.TypeName))));
System.Web.Mobile (6)
Mobile\DeviceFilterDictionary.cs (1)
76throw new Exception(msg);
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (4)
337throw new Exception(); 400throw new Exception(); 596throw new Exception(); 645throw new Exception();
UI\MobileControls\ErrorFormatterPage.cs (1)
57throw new Exception ();
System.Windows.Forms (1)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (1)
2571throw new Exception("How did you get here?");
System.Workflow.Activities (12)
Common\ValidationHelpers.cs (1)
47throw new Exception(SR.GetString(SR.Error_InvalidLanguageIdentifier, identifier));
Delay.cs (2)
240throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration")); 244throw new Exception(SR.GetString(SR.InvalidTimespanFormat, timeSpan));
Designers\EventSinkActivityDesigner.cs (1)
76throw new Exception(SR.GetString(SR.General_MissingService, typeof(IExtendedUIService).FullName));
Designers\InvokeMethodActivityDesigner.cs (1)
75throw new Exception(SR.GetString(SR.General_MissingService, typeof(IExtendedUIService).FullName));
Designers\InvokeWebServiceDesigner.cs (1)
154throw new Exception(SR.GetString(SR.General_MissingService, typeof(IExtendedUIService).FullName));
Designers\WebServiceReceiveDesigner.cs (2)
108throw new Exception(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 112throw new Exception(SR.GetString(SR.Error_TypeNotResolved, value));
EventSinkActivity.cs (2)
518throw new Exception(SR.GetString(SR.Error_InterfaceTypeNeedsExternalDataExchangeAttribute, "InterfaceType")); 532throw new Exception(SR.GetString(SR.Error_InterfaceTypeNotInterface, "InterfaceType"));
InvokeSchedule.cs (1)
143throw new Exception(SR.GetString(SR.Error_TypeIsNotRootActivity, "TargetWorkflow"));
WebServiceReceive.cs (1)
889throw new Exception(SR.GetString(SR.Error_InterfaceTypeNotInterface, "InterfaceType"));
System.Workflow.ComponentModel (65)
AuthoringOM\ActivitiesCollection.cs (6)
259throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName)); 272throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName)); 279throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName)); 286throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName)); 309throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName)); 322throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName));
AuthoringOM\Behaviors\ExceptionHandler.cs (1)
112throw new Exception(SR.GetString(SR.Error_ExceptionTypeNotException, type, "Type"));
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (1)
107throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
AuthoringOM\Bind.cs (2)
475throw new Exception(SR.GetString(SR.Error_NoTargetTypeForMethod)); 480throw new Exception(SR.GetString(SR.Error_MethodDataSourceIsReadOnly));
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
208throw new Exception(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).ToString()));
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (2)
460throw new Exception(TypeSystemSR.GetString(CultureInfo.CurrentCulture, "Error_TypeResolution", name)); 590e = new Exception(typeLoadError, e);
AuthoringOM\Compiler\Validation\BindValidator.cs (1)
527throw new Exception(SR.GetString(SR.Error_DelegateNoInvoke, validationBindContext.TargetType.FullName));
AuthoringOM\Compiler\XomlCompiler.cs (1)
1019throw new Exception(SR.GetString(SR.Error_MissingCompilationContext));
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
207throw new Exception(SR.GetString(SR.Error_MissingCompilationContext));
AuthoringOM\ComponentFactoryHelpers.cs (1)
223throw new Exception(message);
AuthoringOM\Design\ActivityDesigner.cs (1)
2565throw new Exception(DR.GetString(DR.ActivityInsertError) + "\n" + ex.Message, ex);
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
739throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Design\CommandSet.cs (2)
902throw new Exception(DR.GetString(DR.ActivityInsertError) + "\n" + ex.Message, ex); 932throw new Exception(SR.GetString(SR.Error_NoPasteSupport));
AuthoringOM\Design\CompositeActivityDesigner.cs (4)
610throw new Exception(SR.GetString(SR.General_MissingService, typeof(ComponentSerializationService).Name)); 817throw new Exception(SR.GetString(SR.Error_DragDropInvalid)); 897throw new Exception(SR.GetString(SR.Error_DragDropInvalid)); 1016throw new Exception(SR.GetString(SR.Error_DragDropInvalid));
AuthoringOM\Design\CustomActivityDesigner.cs (7)
268throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 276throw new Exception(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 370throw new Exception(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 374throw new Exception(SR.GetString(SR.Error_TypeNotResolved, typeName)); 532throw new Exception(SR.GetString(SR.General_MissingService, typeof(IMemberCreationService).FullName)); 573throw new Exception(SR.GetString(SR.General_MissingService, typeof(IMemberCreationService).FullName)); 577throw new Exception(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
AuthoringOM\Design\DesignerHelpers.cs (1)
1540throw new Exception(SR.GetString(SR.General_MissingService, typeof(IMenuCommandService).FullName));
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
111throw new Exception(DR.GetString(DR.Error_WorkflowNotLoaded)); 1363throw new Exception(SR.GetString(SR.Error_ArgumentTypeNotMatchParameter));
AuthoringOM\Design\IdentifierCreationService.cs (3)
70throw new Exception(SR.GetString(SR.Error_InvalidLanguageIdentifier, identifier)); 191throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 199throw new Exception(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
551throw new Exception(errorMessage, ex);
AuthoringOM\Design\PropertyDescriptors.cs (3)
45throw new Exception(SR.GetString(SR.General_MissingService, typeof(ISite).FullName)); 49throw new Exception(SR.GetString(SR.General_MissingService, typeof(IIdentifierCreationService).FullName)); 93throw new Exception(SR.GetString(SR.General_MissingService, typeof(IIdentifierCreationService).FullName));
AuthoringOM\Design\Themes.cs (3)
1167throw new Exception(DR.GetString(DR.CustomStyleNotSupported)); 2211throw new Exception(DR.GetString(DR.EmptyFontFamilyNotSupported)); 2221throw new Exception(DR.GetString(DR.FontFamilyNotSupported, value), e);
AuthoringOM\Design\UITypeEditors.cs (1)
53throw new Exception(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
AuthoringOM\Design\WorkflowInlining.cs (2)
162throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 187throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Design\WorkflowView.cs (2)
880throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 906throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Fault.cs (1)
123throw new Exception(SR.GetString(SR.Error_ExceptionTypeNotException, type, "Type"));
AuthoringOM\ItemList.cs (6)
326throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName)); 339throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName)); 346throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName)); 353throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName)); 376throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName)); 389throw new Exception(SR.GetString(SR.Error_InvalidListItem, this.GetType().GetGenericArguments()[0].FullName));
AuthoringOM\Serializer\CollectionMarkupSerializer.cs (4)
35throw new Exception(SR.GetString(SR.Error_SerializerTypeRequirement, obj.GetType().FullName, typeof(ICollection).FullName, typeof(ICollection<>).FullName)); 55throw new Exception(SR.GetString(SR.Error_SerializerTypeRequirement, value.GetType().FullName, typeof(ICollection).FullName, typeof(ICollection<>).FullName)); 70throw new Exception(SR.GetString(SR.Error_SerializerTypeRequirement, obj.GetType().FullName, typeof(ICollection).FullName, typeof(ICollection<>).FullName)); 83throw new Exception(SR.GetString(SR.Error_SerializerTypeRequirement, parentObj.GetType().FullName, typeof(ICollection).FullName, typeof(ICollection<>).FullName));
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (3)
1328throw new Exception(SR.GetString(SR.Error_SerializerNoChildNotion, new object[] { parentObject.GetType().FullName })); 2827throw new Exception(SR.GetString(SR.Error_MarkupExtensionMissingTerminatingCharacter)); 2835throw new Exception(SR.GetString(SR.Error_ExtraCharacterFoundAtEnd));
Shared\ValidationHelpers.cs (1)
46throw new Exception(SR.GetString(SR.Error_InvalidLanguageIdentifier, identifier));
System.Xml (1)
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
3221throw new Exception();
WindowsBase (2)
Shared\MS\Internal\SecurityHelper.cs (1)
965Marshal.GetHRForException(new Exception());
Shared\System\Windows\InterOp\OSVersionHelper.cs (1)
344throw new Exception("OSVersionHelper.GetOsVersion Could not detect OS!");
9160 references to Exception
ComSvcConfig (23)
ComAdminWrapper.cs (6)
250catch (Exception ex) 317catch (Exception ex) 399catch (Exception ex) 434catch (Exception ex) 512catch (Exception e) 562catch (Exception e)
ComplusEndpointConfigContainer.cs (3)
98catch (Exception ex) 259catch (Exception ex) 457catch (Exception ex)
ComplusTypeValidator.cs (1)
202static Exception CreateDescriptiveException(System.IO.FileNotFoundException oldException)
SvcFileManager.cs (1)
247catch (Exception e)
Tool.cs (8)
47internal static Exception CreateArgumentException(string command, string arg, string message, Exception innerException) 52internal static Exception CreateException(string message, Exception innerException) 251catch (Exception e) 446catch (Exception) 598catch (Exception e) 944catch (Exception e)
ToolConsole.cs (3)
30internal static void WriteError(Exception e) 56internal static void WriteError(Exception e, string prefix) 63internal static void WriteDetailedException (Exception e, string prefix)
WasEndpointConfigContainer.cs (1)
466catch (Exception ex)
Microsoft.Activities.Build (10)
Microsoft\Activities\Build\Debugger\DebugBuildExtension.cs (1)
85catch (Exception e)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (2)
108Exception ctorException; 175catch (Exception ex)
Microsoft\Activities\Build\Utilities.cs (4)
21internal static Activity CreateActivity(Type type, out Exception ctorException) 40Exception ex = tie; 66catch (Exception e) 85foreach (Exception exception in rtle.LoaderExceptions)
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (3)
88Exception ex; 139catch (Exception e) 249catch (Exception e)
mscorlib (612)
system\accessviolationexception.cs (1)
37public AccessViolationException(String message, Exception innerException)
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\appdomain.cs (1)
2592catch(Exception e) {
system\appdomainunloadedexception.cs (1)
35public AppDomainUnloadedException(String message, Exception innerException)
system\applicationexception.cs (1)
48public ApplicationException(String message, Exception innerException)
system\argumentexception.cs (2)
48public ArgumentException(String message, Exception innerException) 53public ArgumentException(String message, String paramName, Exception innerException)
system\argumentnullexception.cs (1)
42public ArgumentNullException(String message, Exception innerException)
system\argumentoutofrangeexception.cs (1)
59public ArgumentOutOfRangeException(String message, Exception innerException)
system\arithmeticexception.cs (1)
43public ArithmeticException(String message, Exception innerException)
system\array.cs (10)
943catch (Exception e) { 963catch (Exception e) { 2019catch (Exception e) 2041catch (Exception e) 2059catch (Exception e) 2112catch (Exception e) 2338catch (Exception e) 2357catch (Exception e) 2376catch (Exception e) 2429catch (Exception e)
system\arraytypemismatchexception.cs (1)
44public ArrayTypeMismatchException(String message, Exception innerException)
system\badimageformatexception.cs (2)
43public BadImageFormatException(String message, Exception inner) 54public BadImageFormatException(String message, String fileName, Exception inner)
system\cannotunloadappdomainexception.cs (1)
35public CannotUnloadAppDomainException(String message, Exception innerException)
system\cfgparser.cs (1)
296catch(Exception inner) {
system\collections\generic\arraysorthelper.cs (6)
163catch (Exception e) 180catch (Exception e) 527catch (Exception e) 549catch (Exception e) 939catch (Exception e) 1290catch (Exception e)
system\collections\generic\keynotfoundexception.cs (1)
38public KeyNotFoundException(String message, Exception innerException)
system\contextmarshalexception.cs (1)
37public ContextMarshalException(String message, Exception inner)
system\datamisalignedexception.cs (1)
35public DataMisalignedException(String message, Exception innerException)
system\defaultbinder.cs (1)
600Exception e; // Written this way to pass the Code Contracts style requirements.
system\delegateserializationholder.cs (1)
250catch (Exception e)
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\eventing\eventprovider.cs (1)
351catch (Exception)
system\diagnostics\eventing\eventsource.cs (13)
656public Exception ConstructionException { get { return m_constructionException; } } 1314catch (Exception ex) 1387catch (Exception) 1538catch (Exception e) 2052catch (Exception ex) 2179Exception lastThrownException = null; 2202catch (Exception e) 2420private void ThrowEventSourceException(string eventName, Exception innerEx = null) 2837catch (Exception e) 3273Exception exception = null; // exception that might get raised during validation b/c we couldn't/didn't recover from a previous error 3548catch (Exception e) 3952catch (Exception) { } // If we fail during last chance logging, well, we have to give up.... 4065private Exception m_constructionException; // If there was an exception construction, this is it
system\diagnostics\eventing\eventsourceexception.cs (2)
46public EventSourceException(string message, Exception innerException) : base(message, innerException) { } 55internal EventSourceException(Exception innerException) : base(Environment.GetResourceString("EventSource_ListenerWriteFailure"), innerException) { }
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (2)
666catch(Exception ex) 680catch (Exception ex)
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\dividebyzeroexception.cs (1)
33public DivideByZeroException(String message, Exception innerException)
system\dllnotfoundexception.cs (1)
33public DllNotFoundException(String message, Exception inner)
system\duplicatewaitobjectexception.cs (1)
56public DuplicateWaitObjectException(String message, Exception innerException)
system\entrypointnotfoundexception.cs (1)
32public EntryPointNotFoundException(String message, Exception inner)
system\enum.cs (5)
283internal Exception m_innerException; 290internal void SetFailure(Exception unhandledException) 310internal Exception GetEnumParseException() 411catch (Exception ex) 471catch (Exception ex)
system\environment.cs (2)
337public static extern void FailFast(String message, Exception exception); 1243internal static String GetStackTrace(Exception e, bool needFileInfo)
system\exception.cs (15)
75public Exception (String message, Exception innerException) { 91_innerException = (Exception)(info.GetValue("InnerException",typeof(Exception))); 166private static extern bool IsImmutableAgileException(Exception e); 249public virtual Exception GetBaseException() 251Exception inner = InnerException; 252Exception back = this; 264public Exception InnerException { 579info.AddValue("InnerException", _innerException, typeof(Exception)); 613internal Exception PrepForRemoting() 749private static extern void GetStackTracesDeepCopy(Exception exception, out object currentStackTrace, out object dynamicMethodArray); 754internal static extern void SaveStackTracesFromDeepCopy(Exception exception, object currentStackTrace, object dynamicMethodArray); 837lock(Exception.s_EDILock) 848Exception.PrepareForForeignExceptionRaise(); 859private Exception _innerException;
system\executionengineexception.cs (1)
39public ExecutionEngineException(String message, Exception innerException)
system\fieldaccessexception.cs (1)
30public FieldAccessException(String message, Exception inner)
system\formatexception.cs (1)
32public FormatException(String message, Exception innerException)
system\globalization\culturenotfoundexception.cs (3)
38public CultureNotFoundException(String message, Exception innerException) 49public CultureNotFoundException(String message, int invalidCultureId, Exception innerException) 62public CultureNotFoundException(String message, string invalidCultureName, Exception innerException)
system\globalization\datetimeparse.cs (1)
4177private static Exception GetDateTimeParseException(ref DateTimeResult result) {
system\globalization\timespanparse.cs (1)
484internal Exception GetTimeSpanParseException() {
system\guid.cs (6)
173internal Exception m_innerException; 179internal void SetFailure(Exception nativeException) { 190string failureArgumentName, Exception innerException) { 202internal Exception GetGuidParseException() { 803catch (Exception ex) { 849catch (Exception ex) {
system\indexoutofrangeexception.cs (1)
33public IndexOutOfRangeException(String message, Exception innerException)
system\insufficientexecutionstackexception.cs (1)
37public InsufficientExecutionStackException(String message, Exception innerException)
system\insufficientmemoryexception.cs (1)
39public InsufficientMemoryException(String message, Exception innerException)
system\invalidcastexception.cs (1)
33public InvalidCastException(String message, Exception innerException)
system\invalidoperationexception.cs (1)
34public InvalidOperationException(String message, Exception innerException)
system\invalidprogramexception.cs (1)
33public InvalidProgramException(String message, Exception inner)
system\invalidtimezoneexception.cs (1)
18public InvalidTimeZoneException(String message, Exception innerException)
system\io\bufferedstream.cs (8)
486private Int32 ReadFromBuffer(Byte[] array, Int32 offset, Int32 count, out Exception error) { 493} catch (Exception ex) { 594Exception error; 694Exception error; 842private void WriteToBuffer(Byte[] array, ref Int32 offset, ref Int32 count, out Exception error) { 849} catch (Exception ex) { 1030Exception error; 1116Exception error;
system\io\directory.cs (5)
1359Exception ex = null; 1399catch(Exception e) { 1418catch(Exception e) { 1437catch(Exception e) { 1455catch (Exception e) {
system\io\directorynotfoundexception.cs (1)
40public DirectoryNotFoundException(String message, Exception innerException)
system\io\drivenotfoundexception.cs (1)
35public DriveNotFoundException(String message, Exception innerException)
system\io\endofstreamexception.cs (1)
36public EndOfStreamException(String message, Exception innerException)
system\io\fileloadexception.cs (2)
48public FileLoadException(String message, Exception inner) 59public FileLoadException(String message, String fileName, Exception inner)
system\io\filenotfoundexception.cs (2)
44public FileNotFoundException(String message, Exception innerException) 55public FileNotFoundException(String message, String fileName, Exception innerException)
system\io\filestream.cs (4)
2743catch (Exception ex) 2779catch (Exception ex) 2815catch (Exception ex) 2854catch (Exception e)
system\io\ioexception.cs (1)
62public IOException(String message, Exception innerException)
system\io\isolatedstorage\isolatedstorageexception.cs (1)
42public IsolatedStorageException(String message, Exception inner)
system\io\longpath.cs (5)
725Exception ex = null; 781catch (Exception e) 807catch (Exception e) 831catch (Exception e) 855catch (Exception e)
system\io\memorystream.cs (4)
206} catch(Exception ex) { 403catch (Exception exception) 475} catch(Exception ex) { 627catch (Exception exception)
system\io\pathtoolongexception.cs (1)
38public PathTooLongException(String message, Exception innerException)
system\io\stream.cs (1)
1012internal SynchronousAsyncResult(Exception ex, Object asyncStateObject, bool isWrite) {
system\io\unmanagedmemorystream.cs (3)
302} catch(Exception ex) { 468} catch (Exception ex) { 664} catch (Exception ex) {
system\iobserver.cs (1)
26void OnError(Exception error);
system\Lazy.cs (3)
84internal LazyInternalExceptionHolder(Exception ex) 439catch (Exception ex) 455Exception ex = new System.MissingMemberException(Environment.GetResourceString("Lazy_CreateValue_NoParameterlessCtorForT"));
system\mda.cs (1)
94internal static extern void ReportErrorSafeHandleRelease(Exception ex);
system\memberaccessexception.cs (1)
40public MemberAccessException(String message, Exception inner)
system\methodaccessexception.cs (1)
30public MethodAccessException(String message, Exception inner)
system\missingfieldexception.cs (1)
34public MissingFieldException(String message, Exception inner)
system\missingmemberexception.cs (1)
39public MissingMemberException(String message, Exception inner)
system\missingmethodexception.cs (1)
36public MissingMethodException(String message, Exception inner)
system\multicastnotsupportedexception.cs (1)
29public MulticastNotSupportedException(String message, Exception inner)
system\notfinitenumberexception.cs (2)
42public NotFiniteNumberException(String message, Exception innerException) 47public NotFiniteNumberException(String message, double offendingNumber, Exception innerException)
system\notimplementedexception.cs (1)
34public NotImplementedException(String message, Exception inner)
system\notsupportedexception.cs (1)
34public NotSupportedException(String message, Exception innerException)
system\nullreferenceexception.cs (1)
33public NullReferenceException(String message, Exception innerException)
system\objectdisposedexception.cs (1)
35public ObjectDisposedException(String message, Exception innerException)
system\operationcanceledexception.cs (2)
45public OperationCanceledException(String message, Exception innerException) 63public OperationCanceledException(String message, Exception innerException, CancellationToken token)
system\outofmemoryexception.cs (1)
34public OutOfMemoryException(String message, Exception innerException)
system\overflowexception.cs (1)
34public OverflowException(String message, Exception innerException)
system\platformnotsupportedexception.cs (1)
35public PlatformNotSupportedException(String message, Exception inner)
system\rankexception.cs (1)
35public RankException(String message, Exception innerException)
system\reflection\ambiguousmatchexception.cs (1)
36public AmbiguousMatchException(String message, Exception inner) : base(message, inner) {
system\reflection\assembly.cs (3)
2032catch(Exception e) { 2066private static bool IsUserError(Exception e) 2948catch(Exception e)
system\reflection\customattribute.cs (1)
1819catch (Exception e)
system\reflection\customattributeformatexception.cs (1)
34public CustomAttributeFormatException(String message, Exception inner) : base(message, inner) {
system\reflection\emit\ilgenerator.cs (2)
1169if (!excType.IsSubclassOf(typeof(Exception)) && excType!=typeof(Exception)) {
system\reflection\invalidfiltercriteriaexception.cs (1)
38public InvalidFilterCriteriaException(String message, Exception inner) : base(message, inner) {
system\reflection\reflectiontypeloadexception.cs (7)
30private Exception[] _exceptions; 43public ReflectionTypeLoadException(Type[] classes, Exception[] exceptions) : base(null) 50public ReflectionTypeLoadException(Type[] classes, Exception[] exceptions, String message) : base(message) 59_exceptions = (Exception[])(info.GetValue("Exceptions", typeof(Exception[]))); 66public Exception[] LoaderExceptions { 78info.AddValue("Exceptions", _exceptions, typeof(Exception[]));
system\reflection\targetexception.cs (1)
37public TargetException(String message, Exception inner) : base(message, inner) {
system\reflection\targetinvocationexception.cs (2)
41public TargetInvocationException(System.Exception inner) 46public TargetInvocationException(String message, Exception inner) : base(message, inner) {
system\reflection\targetparametercountexception.cs (1)
39public TargetParameterCountException(String message, Exception inner)
system\resources\missingmanifestresourceexception.cs (1)
36public MissingManifestResourceException(String message, Exception inner)
system\resources\missingsatelliteassemblyexception.cs (1)
46public MissingSatelliteAssemblyException(String message, Exception inner)
system\resources\resourcemanager.cs (3)
1142catch(Exception e) 1200catch(Exception e) 1544catch(Exception) {}
system\rttype.cs (3)
2228internal static void ValidateGenericArguments(MemberInfo definition, RuntimeType[] genericArguments, Exception e) 5343catch (Exception) 5538catch (Exception e)
system\runtime\compilerservices\AsyncMethodBuilder.cs (12)
133catch (Exception exc) 179catch (Exception e) 201public void SetException(Exception exception) 239catch (Exception exc) 385/// <param name="exception">The <see cref="System.Exception"/> to use to fault the task.</param> 389public void SetException(Exception exception) { m_builder.SetException(exception); } 521catch (Exception e) 561catch (Exception e) 644/// <param name="exception">The <see cref="System.Exception"/> to use to fault the task.</param> 647public void SetException(Exception exception) 1006internal static void ThrowAsync(Exception exception, SynchronizationContext targetContext) 1021catch (Exception postException)
system\runtime\compilerservices\TaskAwaiter.cs (4)
110/// <exception cref="System.Exception">The task completed in a Faulted state.</exception> 348/// <exception cref="System.Exception">The task completed in a Faulted state.</exception> 438/// <exception cref="System.Exception">The task completed in a Faulted state.</exception> 526/// <exception cref="System.Exception">The task completed in a Faulted state.</exception>
system\runtime\exceptionservices\exceptionnotification.cs (3)
28public FirstChanceExceptionEventArgs(Exception exception) 34public Exception Exception 41private Exception m_Exception;
system\runtime\exceptionservices\exceptionservicescommon.cs (4)
34private Exception m_Exception; 41private ExceptionDispatchInfo(Exception exception) 102public static ExceptionDispatchInfo Capture(Exception source) 113public Exception SourceException
system\Runtime\InteropServices\ComEventsSink.cs (1)
279} catch (System.Exception) {
system\runtime\interopservices\comexception.cs (3)
41public COMException(String message, Exception inner) 58internal COMException(String message, int hresult, Exception inner) 77Exception _innerException = InnerException;
system\runtime\interopservices\errorwrapper.cs (1)
41public ErrorWrapper(Exception e)
system\runtime\interopservices\externalexception.cs (2)
38public ExternalException(String message, Exception inner) 68Exception _innerException = InnerException;
system\runtime\interopservices\iexception.cs (2)
43Exception GetBaseException(); 74Exception InnerException {
system\runtime\interopservices\invalidcomobjectexception.cs (1)
34public InvalidComObjectException(String message, Exception inner)
system\runtime\interopservices\invalidolevarianttypeexception.cs (1)
32public InvalidOleVariantTypeException(String message, Exception inner)
system\runtime\interopservices\marshal.cs (9)
1084public static Exception GetExceptionForHR(int errorCode) 1092public static Exception GetExceptionForHR(int errorCode, IntPtr errorInfo) 1102internal static extern Exception GetExceptionForHRInternal(int errorCode, IntPtr errorInfo); 1112public static extern int GetHRForException(Exception e); 1123internal static extern int GetHRForException_WinRT(Exception e); 1363catch(Exception) 1549catch(Exception) 2416catch(Exception) 2775catch(Exception)
system\runtime\interopservices\marshaldirectiveexception.cs (1)
34public MarshalDirectiveException(String message, Exception inner)
system\runtime\interopservices\safearrayrankmismatchexception.cs (1)
32public SafeArrayRankMismatchException(String message, Exception inner)
system\runtime\interopservices\safearraytypemismatchexception.cs (1)
33public SafeArrayTypeMismatchException(String message, Exception inner)
system\runtime\interopservices\sehexception.cs (1)
35public SEHException(String message, Exception inner)
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (1)
716il.BeginCatchBlock(typeof(System.Exception));
system\Runtime\InteropServices\Variant.cs (1)
300catch (Exception ex) {
system\runtime\interopservices\windowsruntime\bindablevectortolistadapter.cs (4)
181catch (Exception ex) 199catch (Exception ex) 217catch (Exception ex) 235catch (Exception ex)
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (1)
391Exception e = new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueArrayCoersion", this.Type, typeof(T).MakeArrayType().Name, i, elementCastException.Message), elementCastException);
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (2)
68Exception e = new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingDictionaryTooLarge")); 141Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\dictionarytomapadapter.cs (2)
47Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound")); 107Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\imapviewtoireadonlydictionaryadapter.cs (2)
101catch (Exception ex) // Still may hit this case due to a ----, or a potential bug. 122catch (Exception ex)
system\runtime\interopservices\windowsruntime\ireadonlydictionarytoimapviewadapter.cs (1)
47Exception e = new KeyNotFoundException(Environment.GetResourceString("Arg_KeyNotFound"));
system\runtime\interopservices\windowsruntime\ireadonlylisttoivectorviewadapter.cs (1)
136Exception e = new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexLargerThanMaxValue"));
system\runtime\interopservices\windowsruntime\iteratortoenumeratoradapter.cs (1)
189catch (Exception e)
system\runtime\interopservices\windowsruntime\ivectorviewtoireadonlylistadapter.cs (1)
55catch (Exception ex)
system\runtime\interopservices\windowsruntime\listtobindablevectoradapter.cs (2)
160Exception e = new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotRemoveLastFromEmptyCollection")); 185Exception e = new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexLargerThanMaxValue"));
system\runtime\interopservices\windowsruntime\listtobindablevectorviewadapter.cs (1)
44Exception e = new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexLargerThanMaxValue"));
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (2)
169Exception e = new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotRemoveLastFromEmptyCollection")); 218Exception e = new ArgumentOutOfRangeException("index", Environment.GetResourceString("ArgumentOutOfRange_IndexLargerThanMaxValue"));
system\runtime\interopservices\windowsruntime\maptodictionaryadapter.cs (2)
124catch (Exception ex) 169catch (Exception ex)
system\runtime\interopservices\windowsruntime\vectortolistadapter.cs (4)
110catch (Exception ex) 128catch (Exception ex) 146catch (Exception ex) 164catch (Exception ex)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (10)
623catch(Exception) 1031List<Exception> exceptions = new List<Exception>(); 1039catch(Exception ex) 1070internal static Exception GetExceptionForHR(int hresult, Exception innerException, string messageResource) 1072Exception e = null; 1092internal static Exception GetExceptionForHR(int hresult, Exception innerException) 1142internal static bool ReportUnhandledError(Exception e)
system\runtime\remoting\activationservices.cs (5)
729Exception e = null; 760Exception e=null; 779Exception e) 810out Exception e) 1416catch (Exception e)
system\runtime\remoting\channelservices.cs (7)
774catch(Exception e) 790catch(Exception ) 854catch(Exception e) 869catch(Exception ) 913catch(Exception e) 927catch(Exception ) 1024catch (Exception)
system\runtime\remoting\channelsinkstacks.cs (2)
61void DispatchException(Exception e); 172public void DispatchException(Exception e)
system\runtime\remoting\configuration.cs (3)
363catch (Exception e) 365Exception inner = e.InnerException as FileNotFoundException; 421catch (Exception e)
system\runtime\remoting\context.cs (1)
590catch (Exception e)
system\runtime\remoting\crossappdomainchannel.cs (3)
427catch (Exception e) 569catch(Exception e) 576catch(Exception )
system\runtime\remoting\crosscontextchannel.cs (1)
154catch(Exception e)
system\runtime\remoting\imethodmessage.cs (1)
118Exception Exception
system\runtime\remoting\lease.cs (2)
374}catch(Exception) 495}catch(Exception)
system\runtime\remoting\message.cs (18)
75private Exception _Fault; // null if no fault 97public virtual Exception GetFault() {return _Fault;} 98public virtual void SetFault(Exception e) {_Fault = e;} 591Exception inner = null; 608catch(Exception e) 781catch(Exception ) 916public ConstructorReturnMessage(Exception e, IConstructionCallMessage ccm) 2451public Exception Exception 2536internal Exception _e; 2572public ReturnMessage(Exception e, IMethodCallMessage mcm) 2743public Exception Exception 4105private Exception fault; 4330fault = (Exception)e.Value; 4400fault = (Exception)Activator.CreateInstance( 4652public Exception Exception 5178catch (Exception e) 5984Exception _exception = null; 6126public virtual Exception Exception
system\runtime\remoting\messagesmuggler.cs (3)
490Exception excep = mrm.Exception; 567internal Exception GetException(ArrayList deserializedArgs) 570return (Exception)deserializedArgs[_exception.Index];
system\runtime\remoting\realproxy.cs (4)
202Exception e = null; 214catch(Exception excep) 423Exception e = mrm.Exception; 617Exception e = mrm.Exception;
system\runtime\remoting\redirectionproxy.cs (1)
64catch (Exception e)
system\runtime\remoting\remotingconfigparser.cs (1)
1850catch (Exception)
system\runtime\remoting\remotingexception.cs (3)
43public RemotingException(String message, Exception InnerException) 75public ServerException(String message, Exception InnerException) 101public RemotingTimeoutException(String message, Exception InnerException)
system\runtime\remoting\remotingsurrogateselector.cs (2)
332Exception ex = msg.Exception; 420private static Type _exceptionType = typeof(Exception);
system\runtime\remoting\soapinteroptypes.cs (4)
215catch (Exception) 382catch (Exception) 980catch (Exception) 1046catch (Exception)
system\runtime\remoting\stackbuildersink.cs (2)
176} catch (Exception e) 270catch (Exception e)
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (3)
903Exception exception; 925internal Object[] WriteArray(Object returnValue, Object[] args, Exception exception, Object callContext, Object[] properties) 1121exception = (Exception)returnA[arrayPosition++];
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
210internal Object[] WriteReturnArray(Object returnValue, Object[] args, Exception exception, Object callContext, Object[] properties)
system\runtime\serialization\formatters\binary\binarymethodmessage.cs (3)
104Exception _exception = null; 114internal BinaryMethodReturnMessage(Object returnValue, Object[] args, Exception e, LogicalCallContext callContext, Object[] properties) 132public Exception Exception
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (2)
1377catch(Exception e){ 1397catch (Exception e)
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (1)
259Exception exception = mrm.Exception;
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (2)
461catch (Exception) 551catch (Exception)
system\runtime\serialization\formatters\soapfault.cs (3)
122Exception exception; 124internal ServerFault(Exception exception) 158internal Exception Exception
system\runtime\serialization\formatterservices.cs (1)
471catch (Exception e){
system\runtime\serialization\objectmanager.cs (1)
878} catch (Exception e) {
system\runtime\serialization\serializationexception.cs (1)
39public SerializationException(String message, Exception innerException) : base (message, innerException) {
system\runtime\versioning\multitargetinghelpers.cs (3)
47catch (Exception e) 65private static bool IsCriticalException(Exception ex) 75private static bool IsSecurityOrCriticalException(Exception ex)
system\security\accesscontrol\eventwaithandlesecurity.cs (2)
136private static Exception _HandleErrorCode(int errorCode, string name, SafeHandle handle, object context) 138System.Exception exception = null;
system\security\accesscontrol\filesecurity.cs (2)
344private static Exception _HandleErrorCode(int errorCode, string name, SafeHandle handle, object context) 346System.Exception exception = null;
system\security\accesscontrol\mutexsecurity.cs (2)
136private static Exception _HandleErrorCode(int errorCode, string name, SafeHandle handle, object context) 138System.Exception exception = null;
system\security\accesscontrol\nativeobjectsecurity.cs (3)
46internal protected delegate System.Exception ExceptionFromErrorCode( int errorCode, string name, SafeHandle handle, object context ); 125System.Exception exception = null; 270System.Exception exception = null;
system\security\accesscontrol\privilegenotheldexception.cs (1)
28public PrivilegeNotHeldException( string privilege, Exception inner )
system\security\accesscontrol\registrysecurity.cs (2)
159private static Exception _HandleErrorCode(int errorCode, string name, SafeHandle handle, object context) 161System.Exception exception = null;
system\security\codeaccesssecurityengine.cs (2)
238catch (Exception) 399catch (Exception)
system\security\cryptography\crypto.cs (2)
102public CryptographicException(String message, Exception inner) 158public CryptographicUnexpectedOperationException(String message, Exception inner)
system\security\cryptography\dsa.cs (2)
273private static Exception DerivedClassMustOverride() 278internal static Exception HashAlgorithmNameNullOrEmpty()
system\security\cryptography\rsa.cs (2)
201private static Exception DerivedClassMustOverride() { 205internal static Exception HashAlgorithmNameNullOrEmpty() {
system\security\cryptography\rsacryptoserviceprovider.cs (1)
642private static Exception PaddingModeNotSupported() {
system\security\hostprotectionexception.cs (1)
49public HostProtectionException(string message, Exception e) : base(message, e)
system\security\permissions\permissionattributes.cs (2)
1146Exception exception = null; 1157catch (Exception e1)
system\security\permissionset.cs (7)
71private static void DEBUG_PRINTSTACK(Exception e) 768Exception savedException = null; 927catch (Exception e) 1135Exception savedException = null; 1220catch (Exception e) 1867Exception savedException = null; 1962catch (Exception e)
system\security\policy\codegroup.cs (1)
438catch (Exception ex)
system\security\policy\policyexception.cs (2)
33public PolicyException(String message, Exception exception) 46internal PolicyException(String message, int hresult, Exception exception) : base (message, exception)
system\security\policy\policylevel.cs (6)
822Exception exception = null; 834catch (Exception ex) { 874catch (Exception) { 896private Exception LoadError (string message) { 1248Exception storedException = null; 1264catch (Exception e) {
system\security\policymanager.cs (2)
315Exception extendedError = Marshal.GetExceptionForHR(hrSave); 322catch (Exception e)
system\security\principal\identitynotmappedexception.cs (1)
35public IdentityNotMappedException( String message, Exception inner )
system\security\principal\windowsidentity.cs (1)
835private static Exception GetExceptionFromNtStatus (int status) {
system\security\principal\windowsimpersonationcontext.cs (1)
121catch (Exception ex)
system\security\securestring.cs (8)
89catch (Exception) { 148catch (Exception) { 216catch (Exception) { 271catch (Exception) { 304catch (Exception) { 505catch (Exception) { 561catch (Exception) { 625catch (Exception) {
system\security\securitycontext.cs (1)
88catch (Exception ex)
system\security\securityexception.cs (3)
77internal static Exception MakeSecurityException(AssemblyName asmName, Evidence asmEvidence, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed) 107catch(Exception e) 196public SecurityException(String message, Exception inner)
system\security\securitymanager.cs (1)
446Exception savedException = null;
system\security\verificationexception.cs (1)
26public VerificationException(String message, Exception innerException)
system\security\xmlsyntaxexception.cs (1)
32XmlSyntaxException (String message, Exception inner)
system\stackoverflowexception.cs (1)
33public StackOverflowException(String message, Exception innerException)
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\systemexception.cs (1)
24public SystemException(String message, Exception innerException)
system\text\decoderexceptionfallback.cs (1)
125public DecoderFallbackException(String message, Exception innerException)
system\text\encoderexceptionfallback.cs (1)
128public EncoderFallbackException(String message, Exception innerException)
system\threading\abandonedmutexexception.cs (2)
38public AbandonedMutexException(String message, Exception inner ) 55public AbandonedMutexException(String message, Exception inner,int location, WaitHandle handle )
system\threading\CancellationTokenSource.cs (3)
758List<Exception> exceptionList = null; 811catch(Exception ex) 818exceptionList = new List<Exception>();
system\threading\compressedstack.cs (1)
83catch (Exception ex)
system\threading\executioncontext.cs (2)
313catch (Exception ex) 779catch (Exception ex)
system\threading\lockrecursionexception.cs (1)
35public LockRecursionException(string message, Exception innerException) : base(message, innerException) { }
system\threading\semaphorefullexception.cs (1)
29public SemaphoreFullException(String message, Exception innerException) : base(message, innerException) {
system\threading\synchronizationlockexception.cs (1)
36public SynchronizationLockException(String message, Exception innerException)
system\threading\Tasks\AsyncCausalityTracer.cs (7)
158catch (Exception ex) 194catch(Exception ex) 214catch(Exception ex) 233catch(Exception ex) 252catch(Exception ex) 271catch(Exception ex) 282private static void LogAndDisable(Exception ex)
system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (2)
240if (cs.m_exceptions == null) cs.m_exceptions = new List<Exception>(); 482internal List<Exception> m_exceptions;
system\threading\Tasks\Future.cs (3)
586(exceptionObject is Exception) || (exceptionObject is IEnumerable<Exception>) || 1664public Exception Exception { get { return m_task.Exception; } }
system\threading\Tasks\FutureFactory.cs (5)
542Exception ex = null; 558catch (Exception e) { ex = e; } 738catch (Exception e) { promise.TrySetException(e); } // catch and log any scheduler exceptions 747catch (Exception e) { promise.TrySetException(e); } // catch and log any scheduler exceptions 1456catch (Exception exc)
system\threading\Tasks\Parallel.cs (10)
278ConcurrentQueue<Exception> exceptionQ = null; // will be lazily initialized if necessary 302catch (Exception e) 304LazyInitializer.EnsureInitialized<ConcurrentQueue<Exception>>(ref exceptionQ, () => { return new ConcurrentQueue<Exception>(); }); 320catch (Exception e) 322LazyInitializer.EnsureInitialized<ConcurrentQueue<Exception>>(ref exceptionQ, () => { return new ConcurrentQueue<Exception>(); }); 335foreach (Exception exc in ae.InnerExceptions) exceptionQ.Enqueue(exc); 3553internal static void ThrowIfReducableToSingleOCE(IEnumerable<Exception> excCollection, CancellationToken ct) 3558foreach (Exception e in excCollection)
system\threading\Tasks\Task.cs (17)
1232catch (Exception e) 1953catch (Exception e) 2089Exception canceledException = null; 2149Exception exception = GetExceptions(includeTaskCanceledExceptions); 2515catch (Exception exn) 2626catch (Exception exn) 2672catch (Exception e) 2906private void HandleException(Exception unhandledException) 3203catch (Exception e) 3409catch (Exception e) 5061List<Exception> exceptions = null; 5248List<Exception> exceptions = null; 5288internal static void AddExceptionsForCompletedTask(ref List<Exception> exceptions, Task t) 5300exceptions = new List<Exception>(ex.InnerExceptions.Count); 5526public static Task FromException(Exception exception) 5535public static Task<TResult> FromException<TResult>(Exception exception) 6716public Exception Exception { get { return m_task.Exception; } }
system\threading\Tasks\TaskCanceledException.cs (1)
56public TaskCanceledException(string message, Exception innerException) : base(message, innerException)
system\threading\Tasks\TaskCompletionSource.cs (9)
122/// The <see cref="SetResult"/>, <see cref="SetException(System.Exception)"/>, 123/// <see cref="SetException(System.Collections.Generic.IEnumerable{System.Exception})"/>, and <see cref="SetCanceled"/> 160public bool TrySetException(Exception exception) 189public bool TrySetException(IEnumerable<Exception> exceptions) 193List<Exception> defensiveCopy = new List<Exception>(); 194foreach (Exception e in exceptions) 242public void SetException(Exception exception) 270public void SetException(IEnumerable<Exception> exceptions)
system\threading\Tasks\TaskContinuation.cs (5)
268catch (Exception e) 525catch (Exception exc) { ThrowAsyncIfNecessary(exc); } 763catch (Exception exc) // we explicitly do not request handling of dangerous exceptions like AVs 812catch (Exception exception) 841protected static void ThrowAsyncIfNecessary(Exception exc)
system\threading\Tasks\TaskExceptionHolder.cs (11)
111var exp = edi.SourceException; 116foreach (Exception innerExp in flattenedAggExp.InnerExceptions) 191exceptionObject is Exception || exceptionObject is IEnumerable<Exception> || 251var exception = exceptionObject as Exception; 267var exColl = exceptionObject as IEnumerable<Exception>; 273foreach (var exc in exColl) 373internal AggregateException CreateExceptionObject(bool calledFromFinalizer, Exception includeThisException) 389Exception[] combinedExceptions = new Exception[exceptions.Count + 1];
system\threading\Tasks\TaskSchedulerException.cs (2)
52public TaskSchedulerException(Exception innerException) 64public TaskSchedulerException(string message, Exception innerException) : base(message, innerException)
system\threading\thread.cs (1)
1528catch (Exception e)
system\threading\threadinterruptedexception.cs (1)
36public ThreadInterruptedException(String message, Exception innerException)
system\threading\threadstartexception.cs (1)
24private ThreadStartException(Exception reason)
system\threading\threadstateexception.cs (1)
35public ThreadStateException(String message, Exception innerException)
system\threading\waithandlecannotbeopenedexception.cs (1)
32public WaitHandleCannotBeOpenedException(String message, Exception innerException) : base(message, innerException)
system\timeoutexception.cs (1)
34public TimeoutException(String message, Exception innerException)
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) {
system\timezonenotfoundexception.cs (1)
18public TimeZoneNotFoundException(String message, Exception innerException)
system\typeaccessexception.cs (1)
29public TypeAccessException(string message, Exception inner)
system\typeinitializationexception.cs (1)
42public TypeInitializationException(String fullTypeName, Exception innerException) : base(Environment.GetResourceString("TypeInitialization_Type", fullTypeName), innerException) {
system\typeloadexception.cs (1)
42public TypeLoadException(String message, Exception inner)
system\typeunloadedexception.cs (1)
33public TypeUnloadedException(String message, Exception innerException)
system\unauthorizedaccessexception.cs (1)
37public UnauthorizedAccessException(String message, Exception inner)
system\version.cs (1)
503internal Exception GetVersionParseException() {
PresentationBuildTasks (39)
Base\MS\Internal\CriticalExceptions.cs (3)
21internal static bool IsCriticalException(Exception ex) 51internal static Exception Unwrap(Exception ex)
BuildTasks\Microsoft\Build\Tasks\Windows\FileClassifier.cs (1)
113catch (Exception e)
BuildTasks\Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
181catch (Exception e)
BuildTasks\Microsoft\Build\Tasks\Windows\GetWinFXPath.cs (1)
98catch (Exception e)
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (1)
201catch (Exception e)
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (1)
148catch (Exception e)
BuildTasks\Microsoft\Build\Tasks\Windows\MergeLocalizationDirectives.cs (1)
94catch (Exception e)
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
214catch (Exception e)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (4)
107catch (Exception e) 408catch (Exception e) 1010catch (Exception e) 1052catch (Exception e)
BuildTasks\Microsoft\Build\Tasks\Windows\UpdateManifestForBrowserApplication.cs (1)
146catch (Exception e)
BuildTasks\Ms\Internal\MarkupCompiler\CompilationUnit.cs (3)
102internal MarkupErrorEventArgs(Exception e, int lineNum, int linePos, string fileName) 117public Exception Exception 152private Exception _e;
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (4)
495catch (Exception e) 544catch (Exception e) 764Exception compilerException = new Exception(message); 768internal void OnError(Exception e)
BuildTasks\MS\Internal\Tasks\CompilerWrapper.cs (1)
319private bool IsXmlException(Exception e)
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (3)
340internal static string GetWholeExceptionMessage(Exception exception) 342Exception e = exception; 347Exception eInner = e.InnerException;
Framework\System\Windows\Markup\BamlMapTable.cs (1)
1079catch(Exception e)
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,
Framework\System\Windows\Markup\XamlParser.cs (1)
201catch (Exception e)
Framework\System\Windows\Markup\XamlReaderHelper.cs (3)
430catch (Exception e) 1391Exception innerException) 3149catch (Exception e)
Framework\System\Windows\Markup\XamlTypeMapper.cs (2)
2733catch (Exception e) 4036internal void ThrowExceptionWithLine(string message, Exception innerException)
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
70catch (Exception e) // Load throws generic Exceptions, so this can't be made more specific.
PresentationCore (98)
Core\CSharp\MS\Internal\AppModel\CookieHandler.cs (2)
57catch (Exception ex) // Attaching cookies shouldn't fail a web request. 102catch (Exception ex) // A malformed cookie shouldn't fail the whole web request.
Core\CSharp\MS\Internal\Automation\ElementUtil.cs (2)
214Exception remoteException = null; 226catch(Exception e)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
957internal static Exception ConvertInPageException(FontSource fontSource, SEHException e)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (3)
891private void FailNotWellFormed(Exception x) 909private void FailAttributeValue(Exception x) 960private void Fail(string message, Exception innerException)
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
647catch (Exception e) // catch (and re-throw) exceptions so we can inform the other thread 947private Exception _erroredOutException;
Core\CSharp\MS\Internal\TextFormatting\FullTextBreakpoint.cs (1)
113Exception callbackException = context.CallbackException;
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (9)
329Exception callbackException = context.CallbackException; 437private static Exception WrapException(Exception caughtException) 447new Type[] { typeof(Exception) } 451return (Exception)constructor.Invoke( 458new Type[] { typeof(string), typeof(Exception) } 462return (Exception)constructor.Invoke( 660Exception callbackException = context.CallbackException; 2198Exception callbackException = context.CallbackException;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (32)
267catch (Exception e) 401catch (Exception e) 449catch (Exception e) 499catch (Exception e) 598catch (Exception e) 633catch (Exception e) 713catch (Exception e) 781catch (Exception e) 838catch (Exception e) 902catch (Exception e) 943catch (Exception e) 989catch (Exception e) 1059catch (Exception e) 1117catch (Exception e) 1591catch (Exception e) 1645catch (Exception e) 1784catch (Exception e) 1870catch (Exception e) 1985catch (Exception e) 2040catch (Exception e) 2095catch (Exception e) 2208catch (Exception e) 2349catch (Exception e) 2503catch (Exception e) 2577catch (Exception e) 2745catch (Exception e) 2879catch (Exception e) 2966catch (Exception e) 3661private void SaveException(Exception e, Plsrun plsrun, LSRun lsrun) 3673Exception e = new System.Exception(SR.Get(SRID.NonCLSException)); 3709private Exception _exception; 3711internal Exception Exception
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (1)
1001private Exception _responseException; // actual exception to throw (if any)
Core\CSharp\System\Windows\Documents\GetPageCompletedEventArgs.cs (1)
36public GetPageCompletedEventArgs(DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState)
Core\CSharp\System\Windows\Documents\GetPageNumberCompletedEventArgs.cs (1)
36public GetPageNumberCompletedEventArgs(ContentPosition contentPosition, int pageNumber, Exception error, bool cancelled, object userState)
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
1614catch (Exception e)
Core\CSharp\System\Windows\Markup\IProvidePropertyFallback.cs (1)
20object ProvidePropertyFallback(string property, Exception cause);
Core\CSharp\System\Windows\Media\Animation\AnimationException.cs (1)
44string message, Exception innerException)
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (1)
486catch (Exception e)
Core\CSharp\System\Windows\Media\DrawingCollection.cs (1)
52catch (Exception)
Core\CSharp\System\Windows\Media\EventProxy.cs (1)
129catch (Exception e)
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (1)
171catch (Exception e)
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (5)
181catch(Exception e) 294catch (Exception e) 338catch(Exception e) 364catch(Exception e) 489Exception e
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (1)
626catch (Exception e)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (3)
929catch (Exception e) 985catch (Exception e) 1093internal void RecoverFromDecodeFailure(Exception e)
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (2)
364catch(Exception e) 399_failedEvent.InvokeEvents(this, new ExceptionEventArgs((Exception)arg));
Core\CSharp\System\Windows\Media\InvalidWMPVersionException.cs (1)
50public InvalidWmpVersionException(string message, Exception innerException) : base(message, innerException)
Core\CSharp\System\Windows\Media\MediaEventArgs.cs (3)
24internal ExceptionEventArgs(Exception errorException) 38public Exception ErrorException 49private Exception _errorException;
Core\CSharp\System\Windows\Media\MediaEventsHelper.cs (1)
232internal void RaiseMediaFailed(Exception e)
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (14)
172private Exception _lastException; 215catch (Exception e) 238catch (Exception e) 303catch (Exception e) 323catch (Exception e) 348catch (Exception e) 368catch (Exception e) 448catch (Exception e) 470catch (Exception e) 499catch (Exception e) 519catch (Exception e) 547catch (Exception e) 571catch (Exception e) 595catch (Exception e)
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatterContext.cs (1)
246internal Exception CallbackException
Core\CSharp\System\Windows\Media\TextFormatting\TextParagraphCache.cs (1)
92Exception callbackException = context.CallbackException;
Graphics\include\wgx_render.cs (2)
795internal static Exception ConvertHRToException(int hr) 797Exception exceptionForHR = Marshal.GetExceptionForHR(hr, (IntPtr)(-1));
Shared\MS\Internal\SecurityHelper.cs (2)
924internal static Exception GetExceptionForHR(int hr) 951internal static int GetHRForException(Exception exception)
PresentationFramework (282)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (2)
560catch(Exception e) 641catch(Exception e)
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (1)
141catch(Exception ex)
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (2)
62static internal MissingDependencyType GetWinFXRequirement(Exception e, 203static internal void GetErrorTextFromException(Exception e, out string errorTitle, out string errorMessage)
src\Framework\MS\Internal\AppModel\Journaling.cs (1)
731catch (Exception ex)
src\Framework\MS\Internal\AppModel\ReturnEventSaver.cs (1)
158catch (Exception ex)
src\Framework\MS\Internal\AppModel\XappLauncher.cs (9)
201catch (Exception ex) 279catch(Exception exception) 320catch (Exception exception) 561catch (Exception exception0) 580Exception exception = (Exception)exceptionObj; 671private void HandleError(Exception exception, string logFilePath, Uri supportUri, string requiredWpfVersion) 1061catch(Exception) 1224catch (Exception e)
src\Framework\MS\Internal\Controls\ActiveXSite.cs (3)
241catch (Exception t) 423catch (Exception t) 529catch (Exception ex)
src\Framework\MS\Internal\Controls\ConnectionPointCookie.cs (4)
35Exception ex = null; 48catch (Exception e) 126catch (Exception ex) 143catch (Exception ex)
src\Framework\MS\Internal\Data\AsyncDataRequest.cs (3)
75public Exception Exception { get { return _exception; } } 151public void Fail(Exception exception) 219Exception _exception;
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (4)
483internal void ReportGetValueError(int k, object item, Exception ex) 498internal void ReportSetValueError(int k, object item, object value, Exception ex) 783Exception exception = filteredException as Exception;
src\Framework\MS\Internal\Data\DefaultAsyncDataDispatcher.cs (1)
84catch (Exception ex)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (5)
553catch (Exception ex) 1432catch (Exception ex) 1556catch (Exception ex) // if error getting value, we will use fallback/default instead 1674catch (Exception ex2) 1719catch (Exception ex3)
src\Framework\MS\Internal\Data\RBTree.cs (1)
131catch (Exception e)
src\Framework\MS\Internal\Documents\UndoManager.cs (2)
538/// <exception cref="Exception"> 605/// <exception cref="Exception">
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (1)
583catch (Exception ex)
src\Framework\MS\Internal\Printing\PrintDlgExMarshaler.cs (1)
703catch (Exception)
src\Framework\MS\Internal\Printing\Win32PrintDialog.cs (1)
133catch(Exception e)
src\Framework\MS\Internal\PtsHost\Pts.cs (5)
104Exception innerException = GetInnermostException(ptsContext); 139private static Exception GetInnermostException(PtsContext ptsContext) 142Exception exception = ptsContext.CallbackException; 143Exception innerException = exception; 275internal SecondaryException(Exception e) : base(null, e) { }
src\Framework\MS\Internal\PtsHost\PtsContext.cs (2)
435internal Exception CallbackException 651private Exception _callbackException;
src\Framework\MS\Internal\PtsHost\PtsHost.cs (89)
180catch (Exception e) 226catch (Exception e) 269catch (Exception e) 299catch (Exception e) 330catch (Exception e) 357catch (Exception e) 389catch (Exception e) 430catch (Exception e) 458catch (Exception e) 493catch (Exception e) 528catch (Exception e) 554catch (Exception e) 590catch (Exception e) 651catch (Exception e) 681catch (Exception e) 709catch (Exception e) 736catch (Exception e) 764catch (Exception e) 788catch (Exception e) 816catch (Exception e) 839catch (Exception e) 875catch (Exception e) 902catch (Exception e) 1037catch (Exception e) 1062catch (Exception e) 1095catch (Exception e) 1134catch (Exception e) 1175catch (Exception e) 1228catch (Exception e) 1272catch (Exception e) 1298catch (Exception e) 1405catch (Exception e) 1463catch (Exception e) 1522catch (Exception e) 1650catch (Exception e) 1710catch (Exception e) 1747catch (Exception e) 1772catch (Exception e) 1816catch (Exception e) 1845catch (Exception e) 1873catch (Exception e) 1911catch (Exception e) 2023catch (Exception e) 2085catch (Exception e) 2141catch (Exception e) 2207catch (Exception e) 2235catch (Exception e) 2277catch (Exception e) 2307catch (Exception e) 2363catch (Exception e) 2405catch (Exception e) 2448catch (Exception e) 2494catch (Exception e) 2748catch (Exception e) 2784catch (Exception e) 2871catch (Exception e) 2931catch (Exception e) 2994catch (Exception e) 3031catch (Exception e) 3240catch (Exception e) 3296catch (Exception e) 3359catch (Exception e) 3533catch (Exception e) 3563catch (Exception e) 3596catch (Exception e) 3628catch (Exception e) 3657catch (Exception e) 3689catch (Exception e) 3720catch (Exception e) 3752catch (Exception e) 3782catch (Exception e) 3813catch (Exception e) 3849catch (Exception e) 3887catch (Exception e) 3923catch (Exception e) 3954catch (Exception e) 3984catch (Exception e) 4012catch (Exception e) 4048catch (Exception e) 4075catch (Exception e) 4118catch (Exception e) 4168catch (Exception e) 4213catch (Exception e) 4260catch (Exception e) 4322catch (Exception e) 4369catch (Exception e) 4394catch (Exception e) 4421catch (Exception e) 4449catch (Exception e)
src\Framework\MS\Internal\TraceData.cs (1)
304static public string IdentifyException(Exception ex)
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
228catch (Exception e)
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
220catch (Exception ex)
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
192catch (Exception ex)
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
313catch(Exception ex)
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (1)
96catch (Exception ex)
src\Framework\System\Windows\Controls\DatePickerDateValidationErrorEventArgs.cs (2)
23public DatePickerDateValidationErrorEventArgs(Exception exception, string text) 32public Exception Exception
src\Framework\System\Windows\Controls\ExceptionRoutedEventArgs.cs (3)
26Exception errorException 40public Exception ErrorException 48private Exception _errorException;
src\Framework\System\Windows\Controls\Image.cs (2)
337catch(Exception e) 515object IProvidePropertyFallback.ProvidePropertyFallback(string property, Exception cause)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
1113Exception exception = new Exception(sb.ToString());
src\Framework\System\Windows\Controls\Primitives\Popup.cs (4)
1868Exception nre = new NullReferenceException(); 1911private static readonly UncommonField<Exception> SavedExceptionField = new UncommonField<Exception>(); 1913internal Exception SavedException
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (1)
153catch (Exception e)
src\Framework\System\Windows\Controls\PrintDialogException.cs (1)
45Exception innerException
src\Framework\System\Windows\Controls\ValidationError.cs (3)
38public ValidationError(ValidationRule ruleInError, object bindingInError, object errorContent, Exception exception) 97public Exception Exception 125private Exception _exception;
src\Framework\System\Windows\Data\Binding.cs (1)
701internal object DoFilterException(object bindExpr, Exception exception)
src\Framework\System\Windows\Data\BindingExpression.cs (7)
45public delegate object UpdateSourceExceptionFilterCallback(object bindExpression, Exception exception); 1647catch (Exception ex) 1711catch (Exception ex) 2004catch (Exception ex) 2196private void ProcessException(Exception ex, bool validate) 2337catch (Exception ex) 2552private object CallDoFilterException(Exception ex)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (4)
2128Exception e; 2154Exception e; 2174static object ConvertValue(object value, DependencyProperty dp, out Exception e) 2209catch (Exception ex)
src\Framework\System\Windows\Data\BindingGroup.cs (2)
1092catch (Exception ex) 1271catch (Exception ex)
src\Framework\System\Windows\Data\BindingOperations.cs (5)
594internal static void LogException(Exception ex) 608internal void LogException(Exception ex) 619internal List<Exception> Log { get { return _log; } } 621List<Exception> _log = new List<Exception>();
src\Framework\System\Windows\Data\MultiBinding.cs (1)
373internal object DoFilterException(object bindExpr, Exception exception)
src\Framework\System\Windows\Data\ObjectDataProvider.cs (6)
385Exception e = null; // exception to pass back to main thread 395Exception exInstantiation = null; 440object CreateObjectInstance(out Exception e) 486catch (Exception ex) 517object InvokeMethodOnInstance(out Exception e) 570catch (Exception ex)
src\Framework\System\Windows\Data\ValueUnavailableException.cs (1)
44public ValueUnavailableException(string message, Exception innerException) : base(message, innerException)
src\Framework\System\Windows\Data\XmlDataProvider.cs (3)
477Exception ex = null; 567Exception ex = null; 600catch (Exception e)
src\Framework\System\Windows\DataTemplate.cs (2)
45Exception ex = TemplateKey.ValidateDataType(dataType, "dataType"); 75Exception ex = TemplateKey.ValidateDataType(value, "value");
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
961private void _NotifyGetPageAsyncCompleted(DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState)
src\Framework\System\Windows\Documents\FixedDocument.cs (3)
701catch (Exception e) 985catch (Exception e) 1305private void _NotifyGetPageAsyncCompleted(DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState)
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
427catch (Exception)
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\Documents\NLGSpellerInterop.cs (1)
1117catch (Exception e)
src\Framework\System\Windows\Documents\PageContent.cs (2)
505private void _NotifyPageCompleted(FixedPage result, Exception error, bool cancelled, object userToken) 671internal GetPageRootCompletedEventArgs(FixedPage page, Exception error, bool cancelled, object userToken)
src\Framework\System\Windows\Documents\PageContentAsyncResult.cs (2)
219internal Exception Exception 271private Exception _exception;
src\Framework\System\Windows\Documents\Serialization\SerializerWriterEventHandlers.cs (4)
166Exception exception): base(exception, cancelled, state) 233Exception exception 243Exception 253private Exception _exception;
src\Framework\System\Windows\Documents\Speller.cs (2)
409catch(Exception e) 1710catch (Exception e)
src\Framework\System\Windows\Documents\SpellerInteropBase.cs (1)
128catch (Exception ex) when
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (4)
70catch (Exception ex) 92catch (Exception ex) when (ex is ArgumentException || ex is NotSupportedException || ex is PlatformNotSupportedException) 374catch (Exception ex) 557catch (Exception e) when ((e is SecurityException) || (e is ArgumentException) || !fileCopied)
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
313/// <exception cref="Exception">
src\Framework\System\Windows\FrameworkTemplate.cs (1)
1095catch (Exception e)
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
766catch (Exception e)
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
385catch (Exception ex) 1228catch(Exception ex)
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (1)
468Exception comException = hr.GetException();
src\Framework\System\Windows\Markup\BamlRecordReader.cs (18)
807catch (Exception e) 1577catch (Exception e) 1682catch( Exception e ) 2184Exception innerException = null; 2198catch (Exception e) 2255catch (Exception e) 2526catch( Exception e ) 2701catch (Exception e) 2943catch (Exception e) 3770catch (Exception e) 3910catch (Exception e) 4020catch (Exception e) 4041Exception e, 4567catch( Exception e ) 4833catch( Exception e ) 5066catch (Exception e) 5273internal void ThrowExceptionWithLine(string message, Exception innerException) 5392catch (Exception e)
src\Framework\System\Windows\Markup\WpfXamlLoader.cs (1)
147catch (Exception e)
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,
src\Framework\System\Windows\Markup\XamlReader.cs (11)
219internal static bool ShouldReWrapException(Exception e, Uri baseUri) 365catch (Exception e) 406internal static void RewrapException(Exception e, Uri baseUri) 411internal static void RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 416internal static XamlParseException WrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 418Exception baseException = (e.InnerException == null) ? e : e.InnerException; 558catch (Exception e) 829catch (Exception e) 905catch (Exception e) 1017catch (Exception e) 1123private Exception _parseException;
src\Framework\System\Windows\Markup\XamlTemplateSerializer.cs (2)
135Exception ex = TemplateKey.ValidateDataType(dataType, null); 176Exception innerException)
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
657catch (Exception e) 2733catch (Exception e) 4036internal void ThrowExceptionWithLine(string message, Exception innerException)
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (1)
216catch (Exception e)
src\Framework\System\Windows\Navigation\NavigationFailedEventArgs.cs (3)
36internal NavigationFailedEventArgs(Uri uri, Object extraData, Object navigator, WebRequest request, WebResponse response, Exception e) 104public Exception Exception 132Exception _exception;
src\Framework\System\Windows\PropertyPath.cs (1)
811catch (Exception ex)
src\Framework\System\Windows\Shell\JumpList.cs (3)
900catch (Exception e) 1113catch (Exception) 1140catch (Exception)
src\Framework\System\Windows\Standard\ErrorCodes.cs (3)
468Exception e = MS.Internal.PresentationFramework.SecurityHelper.GetExceptionForHR((int)_value); 495e = cons.Invoke(new object[] { message }) as Exception; 519private static Exception CreateWin32Exception(int code, string message)
src\Framework\System\Windows\StyleHelper.cs (1)
5929catch (Exception ex)
src\Framework\System\Windows\TemplateKey.cs (4)
33Exception ex = ValidateDataType(dataType, "dataType"); 77Exception ex = ValidateDataType(value, "value"); 159internal static Exception ValidateDataType(object dataType, string argName) 161Exception result = null;
src\Shared\MS\Internal\SecurityHelper.cs (1)
924internal static Exception GetExceptionForHR(int hr)
SMDiagnostics (34)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (26)
84catch (Exception exception) 98catch (Exception e) 113internal void TraceFailFastException(Exception exception) 118internal Exception ThrowHelper(Exception exception, TraceEventType eventType, TraceRecord extendedData) 153internal Exception ThrowHelper(Exception exception, TraceEventType eventType) 183internal Exception ThrowHelperFatal(string message, Exception innerException) 188internal Exception ThrowHelperInternal(bool fatal) 193internal Exception ThrowHelperInvalidOperation(string message) 198internal Exception ThrowHelperCallback(string message, Exception innerException) 203internal Exception ThrowHelperCallback(Exception innerException) 208internal Exception ThrowHelperCritical(Exception exception) 213internal Exception ThrowHelperError(Exception exception) 218internal Exception ThrowHelperWarning(Exception exception) 223internal Exception ThrowHelperXml(XmlReader reader, string message) 228internal Exception ThrowHelperXml(XmlReader reader, string message, Exception inner) 238internal void DiagnosticTraceHandledException(Exception exception, TraceEventType eventType) 268internal static bool IsInfrastructureException(Exception exception)
System\ServiceModel\Diagnostics\LegacyDiagnosticTrace.cs (8)
73catch (Exception e) 103internal void TraceEvent(TraceEventType type, int code, string msdnTraceCode, string description, TraceRecord trace, Exception exception, object source) 134catch (Exception e) 145internal void TraceEvent(TraceEventType type, int code, string msdnTraceCode, string description, TraceRecord trace, Exception exception, Guid activityId, object source) 181catch (Exception e) 216protected override void OnUnhandledException(Exception exception) 245Exception exception, object source, out TraceXPathNavigator navigator) 259TraceRecord trace, Exception exception, object source)
SMSvcHost (54)
System\ServiceModel\Activation\Diagnostics\ListenerPerfCounters.cs (3)
181catch (Exception exception) 203catch (Exception exception) 257catch (Exception exception)
System\ServiceModel\Activation\Diagnostics\ListenerTraceUtility.cs (2)
70internal static void TraceEvent(TraceEventType severity, int traceCode, string traceDescription, object source, Exception exception) 75internal static void TraceEvent(TraceEventType severity, int traceCode, string traceDescription, TraceRecord record, object source, Exception exception)
System\ServiceModel\Activation\DupHandleConnectionReader.cs (4)
43void AbortAndCount(Exception exception) 103catch (Exception e) 115protected abstract Exception CreatePrematureEOFException(); 143catch (Exception e)
System\ServiceModel\Activation\ListenerAdapter.cs (14)
246catch (Exception exception) 308catch (Exception exception) 401catch (Exception exception) 458catch (Exception exception) 522Exception exception = null; 528catch (Exception ex) 619catch (Exception exception) 642catch (Exception exception) 659catch (Exception exception) 678catch (Exception exception) 701catch (Exception exception) 723catch (Exception exception) 753catch (Exception exception) 908void HandleUnknownError(Exception exception)
System\ServiceModel\Activation\ListenerConnectionDemuxer.cs (3)
144Exception inner = new InvalidDataException(SR.GetString( 146Exception exception = new ProtocolException(inner.Message, inner); 158catch (Exception exception)
System\ServiceModel\Activation\ListenerConnectionModeReader.cs (5)
16Exception readException; 52void Complete(Exception e) 128Exception completionException = null; 137catch (Exception e) 201catch (Exception e)
System\ServiceModel\Activation\ListenerSessionConnectionReader.cs (1)
41protected override Exception CreatePrematureEOFException()
System\ServiceModel\Activation\ListenerSingletonConnectionReader.cs (1)
41protected override Exception CreatePrematureEOFException()
System\ServiceModel\Activation\MessageQueue.cs (2)
306catch (Exception exception) 489catch (Exception exception)
System\ServiceModel\Activation\MsmqActivation.cs (2)
66catch (Exception exception) 635catch (Exception ex)
System\ServiceModel\Activation\NamedPipeActivation.cs (1)
60catch (Exception exception)
System\ServiceModel\Activation\NamedPipeWorkerProcess.cs (1)
23catch (Exception exception)
System\ServiceModel\Activation\SharingService.cs (2)
111Exception lastException = null; 205catch (Exception exception)
System\ServiceModel\Activation\SMSvcHost.cs (2)
123Exception exception = e.ExceptionObject as Exception;
System\ServiceModel\Activation\TcpActivation.cs (1)
28catch (Exception exception)
System\ServiceModel\Activation\TcpPortSharing.cs (1)
91catch (Exception exception)
System\ServiceModel\Activation\TcpWorkerProcess.cs (1)
23catch (Exception exception)
System\ServiceModel\Activation\TransportListener.cs (2)
277catch (Exception exception) 362catch (Exception exception)
System\ServiceModel\Activation\WorkerProcess.cs (5)
108catch (Exception exception) 270catch (Exception exception) 352static bool ShouldRecoverFromProxyCall(Exception exception) 445Exception completeException = null; 452catch (Exception exception)
TD.Designer.cs (1)
102internal static void FailFastException(System.Runtime.Diagnostics.EventTraceActivity eventTraceActivity, System.Exception exception)
System (750)
compmod\microsoft\win32\SystemEvents.cs (4)
789catch (Exception t) { 1316catch (Exception) 1483catch (Exception e) { 1593catch (Exception e) {
compmod\system\codedom\CodeCatchClause.cs (1)
80catchExceptionType = new CodeTypeReference(typeof(System.Exception));
compmod\system\codedom\compiler\CodeDomConfigurationHandler.cs (1)
417catch (Exception e) {
compmod\system\componentmodel\AsyncCompletedEventArgs.cs (3)
16private readonly Exception error; 28public AsyncCompletedEventArgs(Exception error, bool cancelled, object userState) 42public Exception Error
compmod\system\componentmodel\BackgroundWorker.cs (2)
239Exception error = null; 255catch (Exception exception)
compmod\system\componentmodel\basenumberconverter.cs (3)
61internal virtual Exception FromStringError(string failedText, Exception innerException) { 106catch (Exception e) {
compmod\system\componentmodel\design\CheckoutException.cs (1)
82public CheckoutException( string message, Exception innerException ) : base(message, innerException) {
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (1)
258catch (Exception e) {
compmod\system\componentmodel\design\ToolboxItemAttribute.cs (1)
100catch (Exception ex) {
compmod\system\componentmodel\EnumConverter.cs (1)
132catch (Exception e) {
compmod\system\componentmodel\InvalidAsynchronousStateException.cs (1)
40public InvalidAsynchronousStateException(string message, Exception innerException )
compmod\system\componentmodel\InvalidEnumArgumentException.cs (1)
41public InvalidEnumArgumentException( string message, Exception innerException )
compmod\system\componentmodel\LicenseException.cs (1)
49public LicenseException(Type type, object instance, string message, Exception innerException) : base(message, innerException) {
compmod\system\componentmodel\MemberDescriptor.cs (2)
75catch (Exception t) { 391catch (Exception e) {
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (3)
116catch (Exception t) { 940catch (Exception t) { 1142catch (Exception t) {
compmod\system\componentmodel\RunWorkerCompletedEventArgs.cs (1)
17Exception error,
compmod\system\componentmodel\TypeConverter.cs (2)
246protected Exception GetConvertFromException(object value) { 263protected Exception GetConvertToException(object value, Type destinationType) {
compmod\system\componentmodel\WarningException.cs (1)
52public WarningException( string message, Exception innerException )
compmod\system\componentmodel\Win32Exception.cs (1)
73public Win32Exception( string message, Exception innerException ) : base(message, innerException) {
compmod\system\configuration\appsettingsreader.cs (1)
69} catch (Exception) {
compmod\system\diagnostics\DefaultTraceListener.cs (1)
144catch (Exception e) {
compmod\system\diagnostics\TextWriterTraceListener.cs (1)
236catch (Exception ) {
compmod\system\diagnostics\traceutils.cs (2)
37Exception innerException = null; 89catch (Exception e) {
compmod\system\diagnostics\XmlWriterTraceListener.cs (1)
144catch (Exception) { // We probably only care about XmlException for ill-formed XML though
compmod\system\threading\ThreadExceptionEvent.cs (4)
22private Exception exception; 29public ThreadExceptionEventArgs(Exception t) { 34/// <para>Specifies the <see cref='System.Exception'/> that occurred.</para> 36public Exception Exception {
misc\ClientUtils.cs (2)
37public static bool IsCriticalException(Exception ex) { 49public static bool IsSecurityOrCriticalException(Exception ex) {
net\System\Net\_AuthenticationManager2.cs (1)
355catch (Exception exception)
net\System\Net\_AuthenticationManagerDefault.cs (2)
48catch (Exception e) 129catch (Exception exception)
net\System\Net\_AuthenticationState.cs (5)
151catch (Exception exception) { 196catch (Exception exception) { 269catch (Exception exception) { 368catch (Exception exception) { 417catch (Exception exception) {
net\System\Net\_AutoWebProxyScriptEngine.cs (1)
463catch (Exception exception)
net\System\Net\_AutoWebProxyScriptWrapper.cs (5)
499private static volatile Exception s_ProxyScriptHelperLoadError; 513Exception exception = null; 525catch (Exception ex) 558catch (Exception ex) 715catch (Exception exception)
net\System\Net\_ChunkParser.cs (5)
132catch (Exception e) 149catch (Exception) 279bool error = result is Exception; 302throw result as Exception; 451catch (Exception e)
net\System\Net\_CommandStream.cs (10)
70internal virtual void Abort(Exception e) { 160protected Exception GenerateException(WebExceptionStatus status, Exception innerException) { 169protected Exception GenerateException(FtpStatusCode code, string statusDescription, Exception innerException) { 195} catch (Exception e) { 338Exception exception; 447} catch (Exception e) { 473} catch (Exception e) { 547catch(Exception e) {
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\_FtpControlStream.cs (4)
132} catch (Exception e) { 149} catch (Exception e) { 164} catch (Exception e) { 1136catch(Exception e)
net\System\Net\_FtpDataStream.cs (4)
78catch (Exception exception) { 223catch (Exception exception) { 258if (result is Exception) 259throw (Exception) result;
net\System\Net\_LazyAsyncResult.cs (4)
333(result is Exception? ((Exception)result).Message: result == null? "<null>": result.ToString()) + 523(m_Result is Exception? ((Exception)m_Result).Message: m_Result == null? "<null>": m_Result.ToString()));
net\System\Net\_ListenerAsyncResult.cs (1)
98catch (Exception exception)
net\System\Net\_ListenerRequestStream.cs (6)
166Exception exception = new HttpListenerException((int)statusCode); 258catch (Exception e) { 271Exception exception = new HttpListenerException((int)statusCode); 304Exception exception = returnValue as Exception; 409catch (Exception e) {
net\System\Net\_ListenerResponseStream.cs (7)
221Exception exception = new HttpListenerException((int)statusCode); 289catch (Exception e) { 303Exception exception = new HttpListenerException((int)statusCode); 344Exception exception = returnValue as Exception; 444Exception exception = new HttpListenerException((int)statusCode); 607catch (Exception e) {
net\System\Net\_LoggingObject.cs (1)
989public static void LeaveException(string func, Exception exception) {
net\System\Net\_NativeSSPI.cs (7)
106catch(Exception e) { 133catch(Exception e) { 268catch(Exception e) { 297catch(Exception e) { 334catch(Exception e) { 364catch(Exception e) { 440catch (Exception e) {
net\System\Net\_NTAuthentication.cs (1)
959catch(Exception e)
net\System\Net\_PooledStream.cs (2)
197internal virtual void ConnectionCallback(object owningObject, Exception e, Socket socket, IPAddress address) 213catch (Exception ex)
net\System\Net\_RegBlobWebProxyDataBuilder.cs (1)
126catch (Exception exception) {
net\System\Net\_SafeNetHandles.cs (7)
542catch(Exception e) { 603catch(Exception e) { 1669catch(Exception e) 1987catch(Exception e) 2152catch(Exception e) { 2273catch (Exception e) 2902catch(Exception e) {
net\System\Net\_SecureChannel.cs (3)
414catch (Exception exception) { 1087catch(Exception e) 1144catch(Exception e)
net\System\Net\_SSPISessionCache.cs (1)
50catch(Exception e) {
net\System\Net\_StreamFramer.cs (6)
222catch (Exception e) { 331if (workerResult.Result is Exception) { 332throw (Exception)(workerResult.Result); 425catch (Exception e) 473if (workerResult.Result is Exception) { 474throw (Exception)(workerResult.Result);
net\System\Net\_TimerThread.cs (2)
573catch (Exception exception) { 731catch (Exception exception) {
net\System\Net\_TLSstream.cs (10)
206Exception e = bufferResult.Result as Exception; 316Exception e = bufferResult.Result as Exception; 525Exception e = result.InternalWaitForCompletion() as Exception; 565Exception exception = null; 570catch (Exception e) { 628catch (Exception exception) 678catch (Exception exception)
net\System\Net\AuthenticationManager.cs (1)
100catch (Exception e)
net\System\Net\Cache\_CacheStreams.cs (12)
205catch (Exception e) { 284if (myResult.Result is Exception) { 285throw (Exception)(myResult.Result); 474catch (Exception e) { 488catch (Exception ee) { 573catch (Exception e) 590catch (Exception ee) 632catch (Exception e) 649catch (Exception ee) 728if (myResult.Result is Exception) 729throw (Exception)(myResult.Result); 765catch (Exception exception) {
net\System\Net\Cache\_RequestCacheProtocol.cs (8)
40private Exception _ProtocolException; 56internal Exception ProtocolException {get {return _ProtocolException;}} 140catch (Exception e) { 224catch (Exception e) { 265catch(Exception e) { 380catch (Exception e) { 434catch (Exception e) { 535catch (Exception e) {
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
711catch(Exception e) {
net\System\Net\Cache\IERequestCache.cs (4)
326catch (Exception exception) { 480catch (Exception exception) { 1011catch (Exception exception) 1063catch (Exception exception)
net\System\Net\Cache\WinInetCache.cs (1)
298catch(Exception e) {
net\System\Net\Configuration\AuthenticationModulesSection.cs (2)
31} catch (Exception exception) { 94catch (Exception exception)
net\System\Net\Configuration\DefaultProxySection.cs (2)
41} catch (Exception exception) { 303catch (Exception exception)
net\System\Net\Configuration\HttpWebRequestElement.cs (1)
41} catch (Exception exception) {
net\System\Net\Configuration\RequestCachingSection.cs (2)
95} catch (Exception exception) { 298catch (Exception exception)
net\System\Net\Configuration\ServicePointManagerElement.cs (1)
45} catch (Exception exception) {
net\System\Net\Configuration\SmtpNetworkElement.cs (1)
44} catch (Exception exception) {
net\System\Net\Configuration\SocketElement.cs (1)
33} catch (Exception exception) {
net\System\Net\Configuration\UriSectionReader.cs (1)
81catch (Exception)
net\System\Net\Configuration\WebProxyScriptElement.cs (1)
34} catch (Exception exception) {
net\System\Net\Configuration\WebRequestModulesSection.cs (2)
31} catch (Exception exception) { 82catch (Exception exception)
net\System\Net\connectionpool.cs (4)
61private Exception m_ResError; 198} catch (Exception e) { 412catch(Exception e) { 520Exception exceptionToThrow = m_ResError;
net\System\Net\cookiecontainer.cs (2)
346catch (Exception e) { 677catch (Exception e) {
net\System\Net\cookieexception.cs (1)
26internal CookieException(string message, Exception inner) : base(message, inner) {
net\System\Net\DNS.cs (4)
355Exception exception = null; 682catch (Exception exception) 810Exception exception = castedResult.Result as Exception;
net\System\Net\filewebrequest.cs (23)
222Exception e = new ProtocolViolationException(SR.GetString(SR.net_nouploadonget)); 227Exception e = new InvalidOperationException(SR.GetString(SR.net_reqsubmitted)); 233Exception e = new InvalidOperationException(SR.GetString(SR.net_repcall)); 244} catch (Exception exception) { 269Exception e = new InvalidOperationException(SR.GetString(SR.net_repcall)); 278} catch (Exception exception) { 305Exception e = asyncResult == null? new ArgumentNullException("asyncResult"): new ArgumentException(SR.GetString(SR.InvalidAsyncResult), "asyncResult"); 311if(result is Exception){ 312throw (Exception)result; 317} catch (Exception exception) { 339Exception e = asyncResult == null? new ArgumentNullException("asyncResult"): new ArgumentException(SR.GetString(SR.InvalidAsyncResult), "asyncResult"); 346if(result is Exception){ 347throw (Exception)result; 352} catch (Exception exception) { 381Exception e = new WebException(NetRes.GetWebStatusString(WebExceptionStatus.Timeout), WebExceptionStatus.Timeout); 386} catch (Exception exception) { 410Exception e = new WebException(NetRes.GetWebStatusString(WebExceptionStatus.Timeout), WebExceptionStatus.Timeout); 415} catch (Exception exception) { 439catch (Exception e) 442Exception ex = new WebException(e.Message, e); 476catch (Exception e) 479Exception ex = new WebException(e.Message, e); 541} catch (Exception exception) {
net\System\Net\filewebresponse.cs (2)
61} catch (Exception e) { 62Exception ex = new WebException(e.Message, e, WebExceptionStatus.ConnectFailure, null);
net\System\Net\FtpWebRequest.cs (21)
219private Exception m_Exception; 673catch (Exception exception) { 784} catch (Exception exception) { 855catch (Exception exception) { 934} catch (Exception exception) { 988} catch (Exception exception) { 1043} catch (Exception exception) { 1108} catch (Exception e) { 1140catch (Exception exception) { 1189catch (Exception exception) { 1245private bool AttemptedRecovery(Exception e) { 1280private void SetException(Exception exception) { 1362Exception exception = obj as Exception; 1404catch (Exception exception) { 1426Exception exception = obj as Exception; 1466} catch (Exception e) { 1530catch (Exception exception) 1715} catch (Exception exception) { 1898private void EnsureFtpWebResponse(Exception exception)
net\System\Net\HttpListener.cs (14)
686} catch (Exception exception) { 724} catch (Exception exception) { 821catch (Exception exception) { 872} catch (Exception exception) { 979} catch (Exception exception) { 1038} catch (Exception exception) { 1053} catch (Exception exception) { 1080} catch (Exception exception) { 1224} catch (Exception exception) { 1269} catch (Exception exception) { 1298GlobalLog.Assert(castedAsyncResult.Result is Exception, "EndGetContext|The result is neither a HttpListenerContext nor an Exception."); 1299throw castedAsyncResult.Result as Exception; 1301} catch (Exception exception) { 1416catch (Exception exception)
net\System\Net\HttpListenerRequest.cs (1)
163catch (Exception exception)
net\System\Net\HttpSysSettings.cs (1)
107private static void LogRegistryException(string methodName, Exception e)
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\HttpWebResponse.cs (6)
760catch(Exception e){ 782catch(Exception e){ 810catch(Exception e){ 866catch(Exception e){ 888catch(Exception e){ 916catch(Exception e){
net\System\Net\Internal.cs (4)
166internal static bool IsFatal(Exception exception) 864public static string ExceptionMessage(Exception exception) { 879} else if (objectValue is Exception) { 880return ExceptionMessage(objectValue as Exception);
net\System\Net\Logging.cs (4)
173} catch (Exception exception) { 239Exception e = (Exception) args.ExceptionObject; 464internal static void Exception(TraceSource traceSource, object obj, string method, Exception e) {
net\System\Net\mail\Base64Stream.cs (2)
483catch (Exception e) 556catch (Exception e)
net\System\Net\mail\BaseWriter.cs (4)
135if (!(multiResult.Result is Exception)) 146if (o is Exception) 148throw (Exception)o; 191catch (Exception e)
net\System\Net\mail\BufferedReadStream.cs (1)
266catch (Exception e)
net\System\Net\mail\ContentType.cs (1)
259Exception exception = null;
net\System\Net\mail\iisPickupDirectory.cs (1)
451catch (Exception exception) {
net\System\Net\mail\Message.cs (4)
241Exception e = null; 251catch(Exception ex){ 307if (castedAsyncResult.Result is Exception) { 308throw (Exception)castedAsyncResult.Result;
net\System\Net\mail\MimeBasePart.cs (2)
244if (castedAsyncResult.Result is Exception) { 245throw (Exception)castedAsyncResult.Result;
net\System\Net\mail\MimeMultiPart.cs (5)
45internal void Complete(IAsyncResult result, Exception e){ 59catch(Exception ex){ 79catch (Exception e) { 101catch (Exception e) { 140catch (Exception e) {
net\System\Net\mail\MimePart.cs (5)
129internal void Complete(IAsyncResult result, Exception e){ 144catch(Exception ex){ 165catch(Exception e){ 197catch (Exception e) { 256catch (Exception e) {
net\System\Net\mail\QEncodedStream.cs (1)
397catch (Exception e)
net\System\Net\mail\QuotedPrintableStream.cs (1)
429catch (Exception e)
net\System\Net\mail\SmtpClient.cs (9)
526catch (Exception e) { 669catch (Exception e) { 806void Complete(Exception exception, IAsyncResult result) { 848Exception exception = result.Result as Exception; 863catch (Exception e) { 881catch (Exception e) 896catch (Exception e) { 919catch (Exception e) {
net\System\Net\mail\SmtpCommands.cs (12)
33if (!(multiResult.Result is Exception)) 45if (commandResult is Exception) 46throw (Exception)commandResult; 63if (!(multiResult.Result is Exception)) 67catch (Exception e) 86catch (Exception e) 125if (!(multiResult.Result is Exception)) 136if (commandResult is Exception) 137throw (Exception)commandResult; 150if (!(multiResult.Result is Exception)) 154catch (Exception e) 172catch (Exception e)
net\System\Net\mail\smtpconnection.cs (12)
604if (state is Exception) { 605ConnectAndHandshakeAsyncResult.InvokeCallback((Exception)state); 642catch (Exception e) 654if (connectResult is Exception){ 655throw (Exception)connectResult; 692catch (Exception e) 775catch (Exception e) 877catch (Exception e) 908catch (Exception e) 959catch (Exception e) 1049catch (Exception e) 1115catch (Exception e)
net\System\Net\mail\SmtpException.cs (1)
97public SmtpException(string message, Exception innerException) : base(message, innerException)
net\System\Net\mail\SmtpFailedRecipientException.cs (2)
25public SmtpFailedRecipientException(string message, Exception innerException) : base(message, innerException) { } 43public SmtpFailedRecipientException(string message, string failedRecipient, Exception innerException) : base(message, innerException)
net\System\Net\mail\SmtpFailedRecipientsException.cs (1)
29public SmtpFailedRecipientsException(string message, Exception innerException) : base(message, innerException)
net\System\Net\mail\SmtpReplyReaderFactory.cs (2)
436Exception exception = null; 446catch (Exception e)
net\System\Net\mail\SmtpTransport.cs (6)
235catch(Exception innerException){ 396if ((sendMailResult is Exception) 400throw (Exception)sendMailResult; 428catch (Exception e) 488catch (Exception e) 540catch (Exception e)
net\System\Net\NetWebProxyFinder.cs (2)
70catch (Exception exception) 369catch (Exception exception)
net\System\Net\NetworkInformation\ping.cs (7)
20internal PingCompletedEventArgs (PingReply reply, Exception error, bool cancelled, object userToken):base(error,cancelled,userToken) { 245catch (Exception e) { 298catch (Exception ex) { 351catch (Exception e) { 429catch (Exception e) { 486catch(Exception e){ 614catch(Exception e){
net\System\Net\NetworkInformation\pingexception.cs (1)
23public PingException(string message, Exception innerException) :
net\System\Net\SecureProtocols\_FixedSizeReader.cs (1)
156catch (Exception e)
net\System\Net\SecureProtocols\_HelperAsyncResults.cs (1)
161internal void CompleteWithError(Exception e)
net\System\Net\SecureProtocols\_NegoState.cs (14)
48private Exception _Exception; 227private Exception SetException(Exception e) 400catch (Exception e) 437Exception e = lazyResult.Result as Exception; 507Exception exception = new AuthenticationException(SR.GetString(SR.net_auth_bad_client_creds_or_target_mismatch)); 523Exception exception = new AuthenticationException(SR.GetString(SR.net_auth_context_expectation, _ExpectedImpersonationLevel.ToString(), PrivateImpersonationLevel.ToString())); 541Exception exception = new AuthenticationException(SR.GetString(SR.net_auth_context_expectation, result.ToString(), _ExpectedProtectionLevel.ToString())); 701private void StartSendAuthResetSignal(LazyAsyncResult lazyResult, byte[] message, Exception exception) 754if (lazyResult.Result is Exception) 757throw (Exception)lazyResult.Result; 761catch (Exception e) 790catch (Exception e)
net\System\Net\SecureProtocols\_NegoStream.cs (5)
137catch (Exception e) 171catch (Exception e) { 233catch (Exception e) 403catch (Exception e) { 437catch (Exception e)
net\System\Net\SecureProtocols\_SslState.cs (20)
63private Exception _Exception; 423private Exception SetException(Exception e) 509private Exception EnqueueOldKeyDecryptedData(byte[] buffer, int offset, int count) 595catch (Exception) 668catch (Exception e) { 732Exception e = lazyResult.Result as Exception; 931Exception e = EnqueueOldKeyDecryptedData(buffer, offset, count); 963private void StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception) 1052Exception exception = asyncState as Exception; 1059catch (Exception e) 1080catch (Exception e) 1106catch (Exception e) 1379private void FinishHandshake(Exception e, AsyncProtocolRequest asyncRequest) 1677catch (Exception e) 1700catch (Exception e) 1730Exception exception = lazyAsyncResult.InternalWaitForCompletion() as Exception;
net\System\Net\SecureProtocols\_SslStream.cs (15)
157if (bufferResult.Result is Exception) 161throw (Exception)bufferResult.Result; 163throw new IOException(SR.GetString(SR.net_io_read), (Exception)bufferResult.Result); 209if (lazyResult.Result is Exception) 213throw (Exception)lazyResult.Result; 215throw new IOException(SR.GetString(SR.net_io_write), (Exception)lazyResult.Result); 343catch (Exception e) 393catch (Exception e) 673catch (Exception e) 920catch (Exception e) { 949catch (Exception e) { 967catch (Exception e) { 989catch (Exception e) { 1013catch (Exception e) 1037catch (Exception e)
net\System\Net\SecureProtocols\AuthenticationException.cs (2)
44public AuthenticationException(string message, Exception innerException): base(message, innerException) {} 61public InvalidCredentialException(string message, Exception innerException):base(message, innerException) {}
net\System\Net\SecureProtocols\NegotiateStream.cs (6)
619if (bufferResult.Result is Exception) 623throw (Exception)bufferResult.Result; 625throw new IOException(SR.GetString(SR.net_io_read), (Exception)bufferResult.Result); 688if (bufferResult.Result is Exception) 692throw (Exception)bufferResult.Result; 694throw new IOException(SR.GetString(SR.net_io_write), (Exception)bufferResult.Result);
net\System\Net\ServicePoint.cs (9)
232Exception innerException = null; 1234Exception innerException = null; 1235Exception exception = null; 1345catch (Exception ex) { 1358ref IPAddress address, ConnectSocketState state, IAsyncResult asyncResult, out Exception exception) { 1486catch (Exception e) 1511ConnectSocketState state, out Exception exception) { 1621catch (Exception exception) 1709catch (Exception exception)
net\System\Net\ServicePointManager.cs (5)
175catch (Exception e) { 713Exception exception = new WebException(NetRes.GetWebStatusString(WebExceptionStatus.RequestCanceled), WebExceptionStatus.RequestCanceled); 778Exception exception = new NotSupportedException(SR.GetString(SR.net_proxyschemenotsupported, address.Scheme)); 820Exception exception = new InvalidOperationException(SR.GetString(SR.net_maxsrvpoints)); 885Exception exception = new InvalidOperationException(SR.GetString(SR.net_maxsrvpoints));
net\System\Net\SocketPermission.cs (4)
144catch (Exception e) { 158catch (Exception e) { 539catch (Exception exception) { 562catch (Exception exception) {
net\System\Net\Sockets\_MultipleConnectAsync.cs (9)
87Exception exception = null; 105catch (Exception e) 145Exception exception = null; 179Exception connectException = AttemptConnection(); 218private Exception AttemptConnection() 245catch (Exception e) 264private bool Fail(bool sync, Exception e) 278private void SyncFail(Exception e) 297private void AsyncFail(Exception e)
net\System\Net\Sockets\NetworkStream.cs (12)
516catch (Exception exception) { 593catch (Exception exception) { 757catch (Exception exception) { 803catch (Exception exception) 861catch (Exception exception) { 945catch (Exception exception) { 996catch (Exception exception) { 1045catch (Exception exception) { 1090catch (Exception exception) { 1145catch (Exception exception) { 1199catch (Exception exception) { 1235catch (Exception exception) {
net\System\Net\Sockets\Socket.cs (39)
1104Exception lastex = null; 1113catch ( Exception ex ) 3059catch (Exception exception) 5211Exception otherException = null; 5259catch (Exception exception) 5511Exception exception = result as Exception; 6152if (castedAsyncResult.Result is Exception) 6154if (s_LoggingEnabled) Logging.Exception(Logging.Sockets, this, "InternalEndConnect", (Exception)castedAsyncResult.Result); 6155throw (Exception)castedAsyncResult.Result; 6246catch (Exception exception) 6262catch (Exception exception) 7046catch (Exception exception) 7079internal Exception lastException; 7115catch (Exception exception) 7138catch (Exception exception) 7156Exception ex = result as Exception; 7163catch (Exception exception) 7471catch (Exception e) 7558catch (Exception e) 7655catch (Exception exception) 7738catch (Exception ex) { 7847catch (Exception ex) { 7947catch(Exception ex) { 8014catch(Exception ex) { 8106catch(Exception ex) { 8183catch(Exception ex) { 8256catch(Exception ex) { 8319catch(Exception) { 8412catch(Exception ex) { 8634private Exception m_ConnectByNameError; 8849public Exception ConnectByNameError { 8920internal void SetResults(Exception exception, int bytesTransferred, SocketFlags flags) { 9302Exception fileStreamException = null; 9308catch (Exception ex) { 9433catch (Exception) 9736internal void FinishConnectByNameSyncFailure(Exception exception, int bytesTransferred, SocketFlags flags) { 9763internal void FinishOperationAsyncFailure(Exception exception, int bytesTransferred, SocketFlags flags) {
net\System\Net\Sockets\TCPClient.cs (4)
114catch(Exception e){ 215Exception lastex = null; 266catch ( Exception ex ) 276catch(Exception ex){
net\System\Net\Sockets\UDPClient.cs (3)
332Exception lastex = null; 384catch ( Exception ex ) 394catch (Exception ex){
net\System\Net\UnsafeNativeMethods.cs (1)
3517catch (Exception e)
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\ClientWebSocket.cs (1)
189catch (Exception ex)
net\System\Net\WebSockets\WebSocketBase.cs (23)
68private Exception m_PendingException; 255catch (Exception exception) 378catch (Exception exception) 614catch (Exception) 630catch (Exception exception) 731catch (Exception closeNetworkConnectionTaskException) 831catch (Exception closeOutputError) 864catch (Exception) 902catch (Exception receiveException) 975catch (Exception) 995catch (Exception exception) 1268private void ThrowIfAborted(bool aborted, Exception innerException) 1278private bool CanHandleExceptionDuringClose(Exception error) 1298Exception exception, 1362ReadOnlyCollection<Exception> unwrappedExceptions = aggregateException.Flatten().InnerExceptions; 1368foreach (Exception unwrappedException in unwrappedExceptions) 1438private void OnBackgroundTaskException(Exception exception) 1440if (Interlocked.CompareExchange<Exception>(ref m_PendingException, exception, null) == null) 1452Exception pendingException = Interlocked.Exchange<Exception>(ref m_PendingException, null); 1583catch (Exception exception) 1593catch (Exception backgroundException) 1707catch (Exception)
net\System\Net\WebSockets\WebSocketConnectionStream.cs (7)
21private static readonly Func<Exception, bool> s_CanHandleException = new Func<Exception, bool>(CanHandleException); 139catch (Exception error) 223catch (Exception error) 269catch (Exception error) 341catch (Exception error) 361private static bool CanHandleException(Exception error)
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)
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
177catch (Exception ex)
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (13)
28private static readonly Func<Exception, bool> s_CanHandleException = new Func<Exception, bool>(CanHandleException); 184catch (Exception error) 297catch (Exception e) 392catch (Exception error) 463catch (Exception error) 554catch (Exception e) 644catch (Exception error) 706private static bool CanHandleException(Exception error) 861private Exception m_Exception; 928public Exception Exception 1202private void SetResults(Exception exception, int bytesTransferred) 1208internal void FinishOperationFailure(Exception exception, bool syncCompletion)
net\System\Net\WriteStreamClosedEventArgs.cs (1)
18public Exception Error { get { return null; } }
net\System\uribuilder.cs (1)
134catch (Exception exception) {
net\System\URIFormatException.cs (1)
34public UriFormatException(string textString, Exception e) : base(textString, e) {
regex\System\Text\RegularExpressions\RegexMatchTimeoutException.cs (1)
84public RegexMatchTimeoutException(string message, Exception inner)
services\io\system\io\ErrorEventArgs.cs (4)
19private Exception exception; 26public ErrorEventArgs(Exception exception) { 32/// Gets the <see cref='System.Exception'/> that represents the error that occurred. 35public virtual Exception GetException() {
services\io\system\io\InternalBufferOverflowException.cs (1)
40public InternalBufferOverflowException(string message, Exception inner) : base(message, inner) {
services\monitoring\system\diagnosticts\EventLogInternal.cs (1)
752catch (Exception e) {
services\monitoring\system\diagnosticts\Process.cs (1)
879catch(Exception) {
services\monitoring\system\diagnosticts\ProcessManager.cs (2)
754catch(Exception e) { 776catch (Exception e) {
sys\system\configuration\ConfigurationException.cs (3)
54public ConfigurationException(string message, Exception inner) : 65public ConfigurationException(string message, Exception inner, XmlNode node) : 76public ConfigurationException(string message, Exception inner, string filename, int line) : base(message, inner) {
sys\system\configuration\HandlerBase.cs (2)
59catch (Exception e) { 91catch (Exception e) {
sys\system\configuration\SettingsPropertyIsReadOnlyException.cs (1)
23public SettingsPropertyIsReadOnlyException(String message, Exception innerException)
sys\system\configuration\SettingsPropertyNotFoundException.cs (1)
25public SettingsPropertyNotFoundException(String message, Exception innerException)
sys\system\configuration\SettingsPropertyValue.cs (3)
114catch (Exception exception) { 152} catch(Exception e) { 269} catch (Exception) {
sys\system\configuration\SettingsPropertyValueCollection.cs (1)
51catch (Exception)
sys\system\configuration\SettingsPropertyWrongTypeException.cs (1)
22public SettingsPropertyWrongTypeException(String message, Exception innerException)
sys\System\IO\compression\DeflaterZLib.cs (2)
233} catch (Exception cause) { 263} catch (Exception cause) {
sys\System\IO\compression\DeflateStream.cs (6)
458} catch (Exception exc) { 475Exception previousException = deflateStrmAsyncResult.Result as Exception; 682} catch (Exception exc) { 700Exception previousException = deflateStrmAsyncResult.Result as Exception;
sys\System\IO\compression\InvalidDataException.cs (1)
19public InvalidDataException (String message, Exception innerException)
sys\System\IO\compression\ZLibException.cs (1)
79public ZLibException(string message, Exception inner)
sys\system\Media\SoundPlayer.cs (2)
46private Exception lastLoadException = null; 550catch (Exception exception)
sys\system\runtime\versioning\FrameworkName.cs (1)
184catch (Exception e) {
sys\system\security\accesscontrol\semaphoresecurity.cs (2)
131private static Exception _HandleErrorCode(int errorCode, string name, SafeHandle handle, object context) 133System.Exception exception = null;
sys\system\threading\Barrier.cs (4)
47public BarrierPostPhaseException(Exception innerException): this(null, innerException) 64public BarrierPostPhaseException(string message, Exception innerException) 159Exception m_exception; 814catch (Exception ex)
System.Activities (308)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
354catch (Exception e) 518catch (Exception e)
System\Activities\Activity.cs (1)
826internal virtual void InternalAbort(ActivityInstance instance, ActivityExecutor executor, Exception terminationReason)
System\Activities\ActivityInstance.cs (1)
647internal void Abort(ActivityExecutor executor, BookmarkManager bookmarkManager, Exception terminationReason, bool isTerminate)
System\Activities\AsyncCodeActivity.cs (3)
163sealed internal override void InternalAbort(ActivityInstance instance, ActivityExecutor executor, Exception terminationReason) 278catch (Exception e) 418sealed internal override void InternalAbort(ActivityInstance instance, ActivityExecutor executor, Exception terminationReason)
System\Activities\AsyncOperationContext.cs (2)
118catch (Exception e) 142catch (Exception e)
System\Activities\CodeActivity.cs (2)
74sealed internal override void InternalAbort(ActivityInstance instance, ActivityExecutor executor, Exception terminationReason) 173sealed internal override void InternalAbort(ActivityInstance instance, ActivityExecutor executor, Exception terminationReason)
System\Activities\Debugger\DebugInfo.cs (2)
69catch (Exception ex) 97catch (Exception ex)
System\Activities\Debugger\DebugManager.cs (1)
100catch (Exception ex)
System\Activities\Debugger\SourceLocationProvider.cs (2)
38[Fx.Tag.Throws(typeof(Exception), "Calls Serialize/Deserialize to temporary file")] 182catch (Exception)
System\Activities\Debugger\UnitTestUtility.cs (2)
12internal static Func<string, Exception> AssertionExceptionFactory 18internal static void TestInitialize(Func<string, Exception> createAssertionException)
System\Activities\DynamicUpdate\ArgumentInfo.cs (1)
59catch (Exception e)
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (4)
83internal Func<Activity, Exception> OnInvalidActivityToBlockUpdate 91internal Func<Activity, Exception> OnInvalidImplementationMapAssociation 828Exception exception; 842Exception exception;
System\Activities\DynamicUpdate\DynamicUpdateServices.cs (6)
27private static Func<Activity, Exception> onInvalidActivityToBlockUpdate = 28new Func<Activity, Exception>(OnInvalidActivityToBlockUpdate); 30private static Func<Activity, Exception> onInvalidImplementationMapAssociation = 31new Func<Activity, Exception>(OnInvalidImplementationMapAssociation); 260static Exception OnInvalidActivityToBlockUpdate(Activity activity) 265static Exception OnInvalidImplementationMapAssociation(Activity activity)
System\Activities\DynamicUpdate\InstanceUpdateException.cs (2)
30public InstanceUpdateException(string message, Exception innerException) 49public InstanceUpdateException(string message, IList<ActivityBlockingUpdate> blockingActivities, Exception innerException)
System\Activities\ExpressionParser\SourceExpressionException.cs (1)
30public SourceExpressionException(string message, Exception innerException)
System\Activities\Expressions\AssemblyReference.cs (1)
267catch (Exception ex)
System\Activities\Expressions\BinaryExpressionHelper.cs (1)
49catch (Exception e)
System\Activities\Expressions\ExpressionServices.cs (5)
413catch (Exception e) 555catch (Exception e) 610catch (Exception e) 665catch (Exception e) 697catch (Exception e)
System\Activities\Expressions\LambdaSerializationException.cs (1)
23public LambdaSerializationException(string message, Exception innerException)
System\Activities\Expressions\MemberExpressionHelper.cs (1)
52catch (Exception e)
System\Activities\Expressions\MethodCallExpressionHelper.cs (2)
205catch (Exception e) 226catch (Exception e)
System\Activities\Expressions\UnaryExpressionHelper.cs (1)
40catch (Exception e)
System\Activities\ExpressionUtilities.cs (2)
1397catch (Exception e) 1634catch (Exception e)
System\Activities\FaultCallback.cs (1)
9public delegate void FaultCallback(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom);
System\Activities\Hosting\WorkflowInstance.cs (11)
45Exception abortedException; 545internal void NotifyUnhandledException(Exception exception, Activity source, string sourceInstanceId) 556protected abstract void OnNotifyUnhandledException(Exception exception, Activity source, string sourceInstanceId); 558protected internal abstract void OnRequestAbort(Exception reason); 607internal void Abort(Exception reason) 682void Terminate(Exception reason) 1015public void Terminate(Exception reason) 1083public void Abort(Exception reason) 1153public ActivityInstanceState GetCompletionState(out Exception terminationException) 1161public ActivityInstanceState GetCompletionState(out IDictionary<string, object> outputs, out Exception terminationException) 1168public Exception GetAbortReason()
System\Activities\IInstanceNotificationListener.cs (2)
11void AbortInstance(Exception reason, bool isWorkflowThread); 13bool OnUnhandledException(Exception exception, Activity exceptionSource);
System\Activities\InvalidWorkflowException.cs (1)
25public InvalidWorkflowException(string message, Exception innerException)
System\Activities\InvokeCompletedEventArgs.cs (1)
15internal InvokeCompletedEventArgs(Exception error, bool cancelled, AsyncInvokeContext context)
System\Activities\IPropertyRegistrationCallback.cs (2)
12[Fx.Tag.Throws(typeof(Exception), "Extensibility point.")] 14[Fx.Tag.Throws(typeof(Exception), "Extensibility point.")]
System\Activities\NativeActivity.cs (2)
172internal override void InternalAbort(ActivityInstance instance, ActivityExecutor executor, Exception terminationReason) 351internal override void InternalAbort(ActivityInstance instance, ActivityExecutor executor, Exception terminationReason)
System\Activities\NativeActivityAbortContext.cs (3)
14Exception reason; 16internal NativeActivityAbortContext(ActivityInstance instance, ActivityExecutor executor, Exception reason) 22public Exception Reason
System\Activities\NativeActivityContext.cs (3)
174public void AbortChildInstance(ActivityInstance activity, Exception reason) 204public void Abort(Exception reason) 210internal void Terminate(Exception reason)
System\Activities\NativeActivityFaultContext.cs (2)
15Exception exception; 19ActivityExecutor executor, BookmarkManager bookmarkManager, Exception exception, ActivityInstanceReference source)
System\Activities\Runtime\ActivityExecutionWorkItem.cs (2)
50protected void SetExceptionToPropagateWithoutAbort(Exception exception) 67Exception newException = executor.CompleteActivityInstance(this.ActivityInstance);
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\Runtime\ActivityInstanceMap.cs (1)
482catch (Exception e)
System\Activities\Runtime\BookmarkWorkItem.cs (1)
92catch (Exception e)
System\Activities\Runtime\CompletionCallbackWrapper.cs (1)
196catch (Exception e)
System\Activities\Runtime\ExecuteSynchronousExpressionWorkItem.cs (1)
123catch (Exception e)
System\Activities\Runtime\ExecutionPropertyManager.cs (3)
443public void CleanupWorkflowThread(ref Exception abortException) 463catch (Exception e) 508catch (Exception e)
System\Activities\Runtime\FaultBookmark.cs (1)
29public WorkItem GenerateWorkItem(Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource)
System\Activities\Runtime\FaultCallbackWrapper.cs (7)
16static readonly Type[] faultCallbackParameters = new Type[] { typeof(NativeActivityFaultContext), typeof(Exception), typeof(ActivityInstance) }; 26public void Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom) 33public WorkItem CreateWorkItem(Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource) 42Exception propagatedException; 46public FaultWorkItem(FaultCallbackWrapper callbackWrapper, Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource) 71internal Exception SerializedPropagatedException 129catch (Exception e)
System\Activities\Runtime\FaultContext.cs (4)
14Exception exception; 17internal FaultContext(Exception exception, ActivityInstanceReference sourceReference) 26public Exception Exception 51internal Exception SerializedException
System\Activities\Runtime\Scheduler.cs (4)
137public static RequestedAction CreateNotifyUnhandledExceptionAction(Exception exception, ActivityInstance sourceInstance) 597public void NotifyUnhandledException(Exception exception, ActivityInstance source) 634public NotifyUnhandledExceptionAction(Exception exception, ActivityInstance source) 640public Exception Exception
System\Activities\Runtime\WorkItem.cs (8)
25protected Exception workflowAbortException; 31Exception exceptionToPropagate; 52public Exception WorkflowAbortException 60public Exception ExceptionToPropagate 176catch (Exception e) 202catch (Exception e) 302catch (Exception e) 340catch (Exception e)
System\Activities\Statements\CancellationScope.cs (1)
115void OnExceptionFromCancelHandler(NativeActivityFaultContext context, Exception propagatedException, ActivityInstance propagatedFrom)
System\Activities\Statements\Catch.cs (3)
29internal abstract void ScheduleAction(NativeActivityContext context, Exception exception, CompletionCallback completionCallback, FaultCallback faultCallback); 35where TException : Exception 62internal override void ScheduleAction(NativeActivityContext context, Exception exception,
System\Activities\Statements\CompensationParticipant.cs (1)
395void OnExceptionFromHandler(NativeActivityFaultContext context, Exception propagatedException, ActivityInstance propagatedFrom)
System\Activities\Statements\MethodExecutor.cs (1)
133catch (Exception e)
System\Activities\Statements\MethodResolver.cs (2)
403public Exception Exception { get; set; } 765catch (Exception e)
System\Activities\Statements\TerminateWorkflow.cs (3)
20public InArgument<Exception> Exception { get; set; } 29RuntimeArgument exceptionArgument = new RuntimeArgument("Exception", typeof(Exception), ArgumentDirection.In, false); 50Exception exception = Exception.Get(context);
System\Activities\Statements\Throw.cs (3)
22public InArgument<Exception> Exception 30RuntimeArgument exceptionArgument = new RuntimeArgument("Exception", typeof(Exception), ArgumentDirection.In, true); 37Exception exception = this.Exception.Get(context);
System\Activities\Statements\TryCatch.cs (3)
229void OnExceptionFromTry(NativeActivityFaultContext context, Exception propagatedException, ActivityInstance propagatedFrom) 305void OnExceptionFromCatchOrFinally(NativeActivityFaultContext context, Exception propagatedException, ActivityInstance propagatedFrom) 317Catch FindCatch(Exception exception)
System\Activities\Statements\WorkflowTerminatedException.cs (1)
23public WorkflowTerminatedException(string message, Exception innerException)
System\Activities\Tracking\EtwTrackingParticipant.cs (2)
204catch (Exception e) 260static void TraceItemNotSerializable(string item, Exception e)
System\Activities\Tracking\FaultPropagationRecord.cs (5)
20Exception fault; 22internal FaultPropagationRecord(Guid instanceId, ActivityInstance source, ActivityInstance faultHandler, bool isFaultSource, Exception fault) 44Exception fault) 104public Exception Fault 138internal Exception SerializedFault
System\Activities\Tracking\TrackingParticipant.cs (3)
34[Fx.Tag.Throws(typeof(Exception), "extensibility point")] 67Exception participantException = null; 72catch (Exception exception)
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\Validation\ActivityValidationServices.cs (3)
59Exception exception = CreateExceptionFromValidationErrors(validationErrors, reason); 67static Exception CreateExceptionFromValidationErrors(IList<ValidationError> validationErrors, ExceptionReason reason) 388catch (Exception e)
System\Activities\ValidationException.cs (1)
22public ValidationException(string message, Exception innerException)
System\Activities\VersionMismatchException.cs (2)
25public VersionMismatchException(string message, Exception innerException) 44public VersionMismatchException(string message, WorkflowIdentity expectedVersion, WorkflowIdentity actualVersion, Exception innerException)
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;
System\Activities\WorkflowApplicationAbortedEventArgs.cs (2)
14internal WorkflowApplicationAbortedEventArgs(WorkflowApplication application, Exception reason) 20public Exception Reason
System\Activities\WorkflowApplicationAbortedException.cs (2)
27public WorkflowApplicationAbortedException(string message, Exception innerException) 32public WorkflowApplicationAbortedException(string message, Guid instanceId, Exception innerException)
System\Activities\WorkflowApplicationCompletedEventArgs.cs (3)
15Exception terminationException; 18internal WorkflowApplicationCompletedEventArgs(WorkflowApplication application, Exception terminationException, ActivityInstanceState completionState, IDictionary<string, object> outputs) 47public Exception TerminationException
System\Activities\WorkflowApplicationCompletedException.cs (2)
27public WorkflowApplicationCompletedException(string message, Exception innerException) 32public WorkflowApplicationCompletedException(string message, Guid instanceId, Exception innerException)
System\Activities\WorkflowApplicationException.cs (2)
35public WorkflowApplicationException(string message, Exception innerException) 40public WorkflowApplicationException(string message, Guid instanceId, Exception innerException)
System\Activities\WorkflowApplicationTerminatedException.cs (2)
27public WorkflowApplicationTerminatedException(string message, Exception innerException) 32public WorkflowApplicationTerminatedException(string message, Guid instanceId, Exception innerException)
System\Activities\WorkflowApplicationUnhandledExceptionEventArgs.cs (2)
14internal WorkflowApplicationUnhandledExceptionEventArgs(WorkflowApplication application, Exception exception, Activity exceptionSource, string exceptionSourceInstanceId) 22public Exception UnhandledException
System\Activities\WorkflowApplicationUnloadedException.cs (2)
27public WorkflowApplicationUnloadedException(string message, Exception innerException) 32public WorkflowApplicationUnloadedException(string message, Guid instanceId, Exception innerException)
System\Activities\WorkflowIdentity.cs (1)
192static void WrapInSerializationException(Exception exception)
System\Activities\WorkflowInvoker.cs (7)
398Exception error = null; 414catch (Exception e) 436Exception error = null; 441catch (Exception e) 452void PostInvokeCompleted(AsyncInvokeContext context, Exception error) 466void PostInvokeCompleted(AsyncInvokeContext context, bool cancelled, Exception error) 479void PostInvokeCompletedAndRemove(AsyncInvokeContext context, Exception error)
System\Activities\WorkflowPersistenceContext.cs (1)
51catch (Exception e)
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
352catch (Exception e)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (3)
233catch (Exception e) 270catch (Exception e) 2585catch (Exception e)
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)
System.Activities.Core.Presentation (6)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (1)
311catch (Exception e)
System\Activities\Core\Presentation\InteropDesigner.xaml.cs (1)
126catch (Exception e)
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (3)
80typeof(Exception), 606if (type != typeof(Exception) && !type.IsSubclassOf(typeof(Exception)))
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (1)
202catch (Exception err)
System.Activities.DurableInstancing (58)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (2)
119protected override Exception ProcessSqlResult(SqlDataReader reader) 121Exception exception = StoreUtilities.GetNextResultSet(this.InstancePersistenceCommand.Name, reader);
System\Activities\DurableInstancing\DeleteWorkflowOwnerAsyncResult.cs (2)
50protected override Exception ProcessSqlResult(SqlDataReader reader) 52Exception exception = null;
System\Activities\DurableInstancing\DetectActivatableWorkflowsAsyncResult.cs (2)
59protected override Exception ProcessSqlResult(SqlDataReader reader) 61Exception exception = StoreUtilities.GetNextResultSet(base.InstancePersistenceCommand.Name, reader);
System\Activities\DurableInstancing\DetectActivatableWorkflowsTask.cs (1)
26protected override void HandleError(Exception exception)
System\Activities\DurableInstancing\DetectRunnableInstancesAsyncResult.cs (2)
63protected override Exception ProcessSqlResult(SqlDataReader reader) 65Exception exception = StoreUtilities.GetNextResultSet(base.InstancePersistenceCommand.Name, reader);
System\Activities\DurableInstancing\DetectRunnableInstancesTask.cs (1)
26protected override void HandleError(Exception exception)
System\Activities\DurableInstancing\ExtendLockAsyncResult.cs (1)
62protected override Exception ProcessSqlResult(SqlDataReader reader)
System\Activities\DurableInstancing\LoadRetryAsyncResult.cs (2)
83Exception completeException = null; 114catch (Exception exception)
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (4)
97protected override Exception ProcessSqlResult(SqlDataReader reader) 99Exception exception = StoreUtilities.GetNextResultSet(base.InstancePersistenceCommand.Name, reader); 189Exception exception = StoreUtilities.GetNextResultSet(base.InstancePersistenceCommand.Name, reader); 227Exception exception = StoreUtilities.GetNextResultSet(base.InstancePersistenceCommand.Name, reader);
System\Activities\DurableInstancing\LockRecoveryTask.cs (1)
16protected override void HandleError(Exception exception)
System\Activities\DurableInstancing\LockRenewalTask.cs (1)
16protected override void HandleError(Exception exception)
System\Activities\DurableInstancing\PersistenceTask.cs (3)
104protected abstract void HandleError(Exception exception); 119catch (Exception exception) 139catch (Exception exception)
System\Activities\DurableInstancing\QueryActivatableWorkflowAsyncResult.cs (2)
35protected override Exception ProcessSqlResult(SqlDataReader reader) 37Exception exception = StoreUtilities.GetNextResultSet(base.InstancePersistenceCommand.Name, reader);
System\Activities\DurableInstancing\RecoverInstanceLocksAsyncResult.cs (1)
58protected override Exception ProcessSqlResult(SqlDataReader reader)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (3)
134protected override Exception ProcessSqlResult(SqlDataReader reader) 136Exception exception = StoreUtilities.GetNextResultSet(base.InstancePersistenceCommand.Name, reader); 275suspensionExceptionName = ((Exception)propertyValue.Value).GetType().ToString();
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (1)
124catch (Exception e)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (2)
632catch (Exception e) 667catch (Exception exception)
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (10)
15static Action<AsyncResult, Exception> finallyCallback = new Action<AsyncResult, Exception>(Finally); 130protected abstract Exception ProcessSqlResult(SqlDataReader reader); 137protected virtual void OnSqlException(Exception exception, out bool handled) 142static void Finally(AsyncResult result, Exception currentException) 188Exception delayedException = null; 201catch (Exception exception) 275Exception delayedException = null; 299catch (Exception exception) 323void TraceException(Exception exception)
System\Activities\DurableInstancing\StoreUtilities.cs (7)
20public static Exception CheckRemainingResultSetForErrors(XName commandName, SqlDataReader reader) 22Exception returnException = null; 33public static Exception CheckResult(XName commandName, SqlDataReader reader) 35Exception returnValue = null; 53public static Exception GetError(XName commandName, CommandResult result, SqlDataReader reader) 55Exception returnValue = null; 110public static Exception GetNextResultSet(XName commandName, SqlDataReader reader)
System\Activities\DurableInstancing\TestVersionAndRunAsyncResult.cs (4)
71protected override Exception ProcessSqlResult(SqlDataReader reader) 91protected override void OnSqlException(Exception exception, out bool handled) 94Exception currentException = exception; 129catch (Exception ex)
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (2)
55protected override Exception ProcessSqlResult(SqlDataReader reader) 57Exception exception = StoreUtilities.GetNextResultSet(this.InstancePersistenceCommand.Name, reader);
System\Activities\DurableInstancing\UnlockInstanceAsyncResult.cs (1)
51protected override Exception ProcessSqlResult(SqlDataReader reader)
TD.Designer.cs (3)
165internal static void FoundProcessingError(System.Runtime.Diagnostics.EventTraceActivity eventTraceActivity, string param0, System.Exception exception) 403internal static void RunnableInstancesDetectionError(System.Exception exception) 432internal static void InstanceLocksRecoveryError(System.Exception exception)
System.Activities.Presentation (74)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (1)
439catch (Exception ex)
System.Activities.Presentation\Microsoft\Activities\Presentation\SharedFx.cs (1)
12internal static bool IsFatal(Exception exception)
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\PropertyInspector\ExtensibilityMetadataHelper.cs (3)
48catch (Exception e) 79catch (Exception e) 89public static string GetExceptionMessage(Exception e)
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\Base\Core\Metadata\AttributeTableValidationException.cs (2)
46public AttributeTableValidationException(string message, Exception inner) 68public AttributeTableValidationException(string message, Exception inner, IEnumerable<string> validationErrors)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
973catch (System.Exception)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValue.cs (4)
131catch (Exception ex) { 153catch (Exception ex) 204catch (Exception ex) { 228catch (Exception ex) {
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueExceptionEventArgs.cs (3)
18private Exception _exception; 30public PropertyValueExceptionEventArgs(string message, PropertyValue value, PropertyValueExceptionSource source, Exception exception) 61public Exception Exception { get { return _exception; } }
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelEditingScope.cs (3)
78catch (Exception e) 131catch (Exception e) 220protected abstract bool OnException(Exception exception);
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\CutCopyPasteHelper.cs (2)
656catch (Exception e) 768catch (Exception exp)
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
666catch (Exception err) 813catch (Exception err)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
439catch (Exception ex)
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
96public static void ShowErrorMessage(Exception err) 216catch (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\Model\EditingScope.cs (1)
282protected override bool OnException(Exception e)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
580catch (System.Exception)
System.Activities.Presentation\System\Activities\Presentation\RetriableClipboard.cs (3)
29catch (Exception err) 51catch (Exception err) 72catch (Exception err)
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\ArgumentDesigner.xaml.cs (3)
1334catch (Exception err) 1393catch (Exception err) 1568object OnUpdateBindingException(object sender, Exception err)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
622catch (Exception err) 909catch (Exception err)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1146catch (Exception err)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (3)
150Exception ex = e.Exception.InnerException ?? e.Exception; 1644catch (Exception e) 1675catch (Exception e)
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
1550object OnUpdateBindingException(object sender, Exception err)
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierDesigner.xaml.cs (1)
118object OnBindingException(object sender, Exception err)
System.Activities.Presentation\System\Activities\Presentation\View\VersionEditorViewModel.cs (1)
44Exception exception = null;
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (6)
544catch (Exception ex) 928catch (Exception err) 971catch (Exception err) 1168catch (Exception err) 1691catch (Exception ex) 1868catch (Exception err)
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
78catch (Exception e)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
428catch (Exception e) 480catch (Exception e)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Debugger.cs (1)
76catch (Exception ex)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.SerializationHelpers.cs (2)
125catch (Exception e) 132void RaiseLoadError(Exception e)
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1038catch (Exception e)
System.AddIn (23)
System\Addin\Hosting\AddInActivator.cs (5)
356catch (Exception ex) 556private static void CheckForDuplicateAssemblyProblems(AddInToken pipeline, Exception inner) 579private static void CheckForLoaderContextProblems(ContractComponent contract, AddInAdapter addinAdapter, Exception inner) 601Exception e = new InvalidOperationException( 619Exception e = new InvalidOperationException(
System\Addin\Hosting\AddInControllerImpl.cs (1)
93catch (Exception) {}
System\Addin\Hosting\AddInProcess.cs (1)
397catch (Exception) {}
System\Addin\Hosting\AddInSegmentDirectoryNotFoundException.cs (1)
18public AddInSegmentDirectoryNotFoundException(String message, Exception innerException)
System\Addin\Hosting\AddInStore.cs (11)
122catch (Exception) { 176catch (Exception) { 227catch (Exception) { 424catch (Exception) { 546catch (Exception) { 651catch (Exception) { 998catch(Exception) 1105catch (Exception e) 1229catch (Exception e) 1337catch (Exception e) 1523public AddInBaseInAddInFolderException(String message, Exception innerException)
System\Addin\Hosting\InspectionWorker.cs (2)
237catch (Exception e) 322catch (Exception e)
System\Addin\Hosting\InvalidPipelineStoreException.cs (1)
18public InvalidPipelineStoreException(String message, Exception innerException)
System\Addin\Pipeline\ContractBase.cs (1)
234catch (Exception ex)
System.ComponentModel.DataAnnotations (1)
DataAnnotations\ValidationException.cs (1)
94public ValidationException(string message, Exception innerException)
System.Configuration (52)
System\Configuration\BaseConfigurationRecord.cs (14)
568catch (Exception e) { 655catch (Exception e) { 806catch (Exception e) { 1586Exception savedException = null; 1658catch (Exception e) { 1739catch (Exception e) { 2042catch (Exception e) { 2141catch (Exception e) { 2247catch (Exception e) { 3166catch (Exception e) { 3587catch (Exception e) { 4197} catch (Exception e) { 4271} catch (Exception e) { 4306catch (Exception e) {
System\Configuration\ClientConfigurationSystem.cs (3)
29private Exception _initError; 135catch (Exception e) { 190catch (Exception ex) {
System\Configuration\ConfigurationElement.cs (1)
1753catch (Exception ex) {
System\Configuration\ConfigurationErrorsException.cs (6)
51public ConfigurationErrorsException(string message, Exception inner, string filename, int line) : base(message, inner) { 62public ConfigurationErrorsException(string message, Exception inner) : 71public ConfigurationErrorsException(string message, Exception inner, XmlNode node) : 77public ConfigurationErrorsException(string message, Exception inner, XmlReader reader) : 83internal ConfigurationErrorsException(string message, Exception inner, IConfigErrorInfo errorInfo) : 131static private Exception GetInnerException(ConfigurationException e) {
System\Configuration\ConfigurationManager.cs (3)
24private static volatile Exception s_initError; 89catch (Exception e) { 103internal static void SetInitError(Exception initError) {
System\Configuration\ConfigurationProperty.cs (4)
248catch (Exception ex) { 385catch (Exception ex) { 403catch (Exception ex) { 414catch (Exception ex) {
System\Configuration\Debug.cs (3)
725internal static void Trace(string tagName, string message, Exception e) { 738internal static void Trace(string tagName, Exception e) { 751internal static void Trace(string tagName, string message, Exception e, bool includePrefix) {
System\Configuration\ExceptionUtil.cs (2)
39static internal ConfigurationErrorsException WrapAsConfigException(string outerMessage, Exception e, IConfigErrorInfo errorInfo) { 48static internal ConfigurationErrorsException WrapAsConfigException(string outerMessage, Exception e, string filename, int line) {
System\Configuration\Internal\InternalConfigHost.cs (1)
251catch (Exception e) {
System\Configuration\Internal\WriteFileContext.cs (1)
180catch ( Exception ) {
System\Configuration\MgmtConfigurationRecord.cs (8)
332catch (Exception e) { 499catch (Exception e) { 569catch (Exception e) { 1274catch (Exception e) { 1821catch (Exception e) { 1836catch (Exception e) { 2026catch (Exception e) { 3153catch (Exception e) {
System\Configuration\ProviderException.cs (1)
20public ProviderException( string message, Exception innerException )
System\Configuration\RuntimeConfigurationRecord.cs (1)
118catch (Exception e) {
System\Configuration\TypeUtil.cs (4)
52Exception originalException = null; 57catch (Exception e) { 78Exception originalException = null; 83catch (Exception e) {
System.Core (88)
Microsoft\Scripting\Ast\CatchBlock.cs (15)
51/// Gets a reference to the <see cref="Exception"/> object caught by this handler. 58/// Gets the type of <see cref="Exception"/> this handler catches. 111/// <param name="type">The <see cref="Type"/> of <see cref="Exception"/> this <see cref="CatchBlock"/> will handle.</param> 121/// <param name="variable">A <see cref="ParameterExpression"/> representing a reference to the <see cref="Exception"/> object caught by this handler.</param> 131/// an <see cref="Exception"/> filter but no reference to the caught <see cref="Exception"/> object. 133/// <param name="type">The <see cref="Type"/> of <see cref="Exception"/> this <see cref="CatchBlock"/> will handle.</param> 135/// <param name="filter">The body of the <see cref="Exception"/> filter.</param> 143/// an <see cref="Exception"/> filter and a reference to the caught <see cref="Exception"/> object. 145/// <param name="variable">A <see cref="ParameterExpression"/> representing a reference to the <see cref="Exception"/> object caught by this handler.</param> 147/// <param name="filter">The body of the <see cref="Exception"/> filter.</param> 157/// <param name="type">The <see cref="Type"/> of <see cref="Exception"/> this <see cref="CatchBlock"/> will handle.</param> 158/// <param name="variable">A <see cref="ParameterExpression"/> representing a reference to the <see cref="Exception"/> object caught by this handler.</param> 160/// <param name="filter">The body of the <see cref="Exception"/> filter.</param>
Microsoft\Scripting\Ast\ParameterExpression.cs (2)
65} else if (type == typeof(Exception)) { 66return new PrimitiveParameterExpression<Exception>(name);
Microsoft\Scripting\Utils\ContractUtils.cs (1)
33internal static Exception Unreachable {
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) { }
System\Diagnostics\Eventing\Reader\EventLogWatcher.cs (2)
233catch (Exception e) { 255EventRecordWrittenEventArgs args = new EventRecordWrittenEventArgs(this.asyncException.Data["RealException"] as Exception);
System\Diagnostics\Eventing\Reader\EventRecordWrittenEventArgs.cs (3)
31private Exception exception; 34internal EventRecordWrittenEventArgs(Exception exception) { this.exception = exception; } 49public Exception EventException {
System\Diagnostics\EventSchemaTraceListener.cs (3)
557catch(Exception) { 672catch (Exception ) { 736catch (Exception) {
System\IO\LogStream.cs (1)
424catch (Exception ) {
System\Linq\Parallel\QueryOperators\AssociativeAggregationOperator.cs (2)
141catch (Exception ex) 179catch (Exception ex)
System\Linq\Parallel\QueryOperators\Inlined\CountAggregationOperator.cs (1)
43protected override int InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\DecimalAverageAggregationOperator.cs (1)
44protected override decimal InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\DecimalMinMaxAggregationOperator.cs (1)
48protected override decimal InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\DecimalSumAggregationOperator.cs (1)
45protected override decimal InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\DoubleAverageAggregationOperator.cs (1)
43protected override double InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\DoubleMinMaxAggregationOperator.cs (1)
53protected override double InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\DoubleSumAggregationOperator.cs (1)
44protected override double InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\FloatAverageAggregationOperator.cs (1)
43protected override float InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\FloatMinMaxAggregationOperator.cs (1)
52protected override float InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\FloatSumAggregationOperator.cs (1)
45protected override float InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\InlinedAggregationOperator.cs (3)
55Exception toThrow = null; 66catch (Exception ex) 115protected abstract TResult InternalAggregate(ref Exception singularExceptionToThrow);
System\Linq\Parallel\QueryOperators\Inlined\IntAverageAggregationOperator.cs (1)
44protected override double InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\IntMinMaxAggregationOperator.cs (1)
48protected override int InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\IntSumAggregationOperator.cs (1)
46protected override int InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\LongAverageAggregationOperator.cs (1)
44protected override double InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\LongCountAggregationOperator.cs (1)
46protected override long InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\LongMinMaxAggregationOperator.cs (1)
48protected override long InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\LongSumAggregationOperator.cs (1)
45protected override long InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalAverageAggregationOperator.cs (1)
41protected override decimal? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalMinMaxAggregationOperator.cs (1)
45protected override decimal? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableDecimalSumAggregationOperator.cs (1)
42protected override decimal? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleAverageAggregationOperator.cs (1)
41protected override double? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleMinMaxAggregationOperator.cs (1)
51protected override double? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableDoubleSumAggregationOperator.cs (1)
42protected override double? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatAverageAggregationOperator.cs (1)
41protected override float? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatMinMaxAggregationOperator.cs (1)
51protected override float? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableFloatSumAggregationOperator.cs (1)
42protected override float? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableIntAverageAggregationOperator.cs (1)
41protected override double? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableIntMinMaxAggregationOperator.cs (1)
45protected override int? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableIntSumAggregationOperator.cs (1)
42protected override int? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableLongAverageAggregationOperator.cs (1)
41protected override double? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableLongMinMaxAggregationOperator.cs (1)
45protected override long? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\QueryOperators\Inlined\NullableLongSumAggregationOperator.cs (1)
42protected override long? InternalAggregate(ref Exception singularExceptionToThrow)
System\Linq\Parallel\Scheduling\SpoolingTaskBase.cs (1)
53catch (Exception ex)
System\Linq\Parallel\Utils\ExceptionAggregator.cs (5)
53catch (Exception ex) 91catch (Exception ex) 114internal static void ThrowOCEorAggregateException(Exception ex, CancellationState cancellationState) 150catch (Exception ex) 160private static bool ThrowAnOCE(Exception ex, CancellationState cancellationState)
System\Linq\ParallelEnumerable.cs (6)
1641catch (Exception e) 1778catch (Exception e) 4433catch (Exception ex) 4465catch (Exception ex) 5025catch (Exception ex) 5127catch(Exception ex)
System\Management\Automation\Exceptions.cs (4)
23public InstrumentationBaseException(string message, Exception innerException) 48public InstrumentationException(Exception innerException) 54public InstrumentationException(string message, Exception innerException) 78public InstanceNotFoundException(string message, Exception innerException)
System\Security\Cryptography\ECDiffieHellman.cs (1)
183private static Exception DerivedClassMustOverride()
System\Security\Cryptography\ECDsa.cs (2)
209private static Exception DerivedClassMustOverride() { 213internal static Exception HashAlgorithmNameNullOrEmpty() {
System.Data (1198)
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\ExceptionUtility.cs (1)
13public static bool IsFatal(Exception exception)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\IExceptionLogger.cs (1)
11void LogException(Exception exception);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\WorkflowDesignerExtensionManager.cs (1)
202catch (Exception ex)
cdf\src\NetFx40\Tools\System.Activities.Presentation\Microsoft\Activities\Presentation\SharedFx.cs (1)
12internal static bool IsFatal(Exception exception)
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\PropertyInspector\ExtensibilityMetadataHelper.cs (3)
48catch (Exception e) 79catch (Exception e) 89public static string GetExceptionMessage(Exception e)
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\AttributeTableValidationException.cs (2)
46public AttributeTableValidationException(string message, Exception inner) 68public AttributeTableValidationException(string message, Exception inner, IEnumerable<string> validationErrors)
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\Base\Core\PropertyEditing\PropertyValue.cs (4)
131catch (Exception ex) { 153catch (Exception ex) 204catch (Exception ex) { 228catch (Exception ex) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueExceptionEventArgs.cs (3)
18private Exception _exception; 30public PropertyValueExceptionEventArgs(string message, PropertyValue value, PropertyValueExceptionSource source, Exception exception) 61public Exception Exception { get { return _exception; } }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelEditingScope.cs (3)
78catch (Exception e) 131catch (Exception e) 220protected abstract bool OnException(Exception 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\CutCopyPasteHelper.cs (2)
656catch (Exception e) 768catch (Exception exp)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
666catch (Exception err) 813catch (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\ErrorReporting.cs (2)
96public static void ShowErrorMessage(Exception err) 216catch (Exception err)
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\EditingScope.cs (1)
282protected override bool OnException(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\RetriableClipboard.cs (3)
29catch (Exception err) 51catch (Exception err) 72catch (Exception err)
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\ArgumentDesigner.xaml.cs (3)
1334catch (Exception err) 1393catch (Exception err) 1568object OnUpdateBindingException(object sender, Exception err)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
622catch (Exception err) 909catch (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\DesignerView.xaml.cs (3)
150Exception ex = e.Exception.InnerException ?? e.Exception; 1644catch (Exception e) 1675catch (Exception e)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
1550object OnUpdateBindingException(object sender, Exception err)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierDesigner.xaml.cs (1)
118object OnBindingException(object sender, 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\VisualBasicEditor.xaml.cs (6)
544catch (Exception ex) 928catch (Exception err) 971catch (Exception err) 1168catch (Exception err) 1691catch (Exception ex) 1868catch (Exception err)
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.cs (2)
428catch (Exception e) 480catch (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\WorkflowDesigner.SerializationHelpers.cs (2)
125catch (Exception e) 132void RaiseLoadError(Exception e)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1038catch (Exception e)
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
2629catch(Exception e) {
fx\src\data\System\Data\CodeGen\StrongTypingException.cs (2)
38public StrongTypingException(string s, Exception innerException) : base(s, innerException) { 78public TypedDataSetGeneratorException(string message, Exception innerException) : base(message, innerException) {
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\Common\DataAdapter.cs (5)
600catch(Exception e) { 633catch(Exception e) { 669catch(Exception e) { 692catch(Exception e) { 730private void OnFillErrorHandler(Exception e, DataTable dataTable, object[] dataValues) {
fx\src\data\System\Data\Common\DataRecordInternal.cs (2)
141catch (Exception e) { 213catch (Exception e) {
fx\src\data\System\Data\Common\DBCommand.cs (4)
168} catch(Exception) { 221catch (Exception e) { 257catch (Exception e) { 281catch (Exception e) {
fx\src\data\System\Data\Common\DBCommandBuilder.cs (1)
1409catch(Exception e) {
fx\src\data\System\Data\Common\DBConnection.cs (1)
195catch (Exception e) {
fx\src\data\System\Data\Common\DbDataAdapter.cs (11)
38internal Exception Errors; 569virtual protected bool GetBatchedRecordsAffected(int commandIdentifier, out int recordsAffected, out Exception error) { // SQLBU 412467 886catch (Exception e) { 945Exception errors = null; 977catch (Exception e) { // try/catch for RowUpdatedEventArgs 1046catch (Exception e) { // try/catch for RowUpdatedEventArgs 1060Exception errors = rowUpdatedEvent.Errors; 1115catch (Exception e) { // try/catch for RowUpdatedEventArgs 1126Exception errors = rowUpdatedEvent.Errors; 1401Exception errors = rowUpdatedEvent.Errors; 1459Exception errors = rowUpdatedEvent.Errors;
fx\src\data\System\Data\Common\DbDataReader.cs (4)
210catch (Exception e) { 232catch (Exception e) { 254catch (Exception e) { 272catch (Exception e) {
fx\src\data\System\Data\Common\DbException.cs (1)
20protected DbException(System.String message, System.Exception innerException) : base(message, innerException) {
fx\src\data\System\Data\Common\RowUpdatedEventArgs.cs (2)
24private Exception _errors; 55public Exception Errors {
fx\src\data\System\Data\Common\RowUpdatingEventArgs.cs (2)
22private Exception _errors; 66public Exception Errors {
fx\src\data\System\Data\Common\System.Data_BID.cs (1)
104[BidArgumentType(typeof(String))] System.Exception a2) {
fx\src\data\System\Data\Constraint.cs (1)
142catch (Exception e) {
fx\src\data\System\Data\ConstraintCollection.cs (1)
408catch (Exception e) {
fx\src\data\System\Data\DataColumn.cs (4)
799catch (Exception e1) { 820catch (Exception e2) { 1162catch (Exception e) { 1194catch (Exception e) {
fx\src\data\System\Data\DataColumnCollection.cs (2)
346catch (Exception e) { 557catch (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\DataRelation.cs (1)
659catch (Exception e) {
fx\src\data\System\Data\DataRelationCollection.cs (1)
729catch (Exception e) {
fx\src\data\System\Data\DataRow.cs (2)
315catch (Exception e1){ 458catch (Exception e1) {
fx\src\data\System\Data\DataSet.cs (1)
851catch (Exception e) {
fx\src\data\System\Data\DataTable.cs (10)
887Exception first = null; 904catch(Exception e) { 1349catch(Exception e) { // failed to reset all indexes for all constraints 2540Exception deferredException = null; 3100catch (Exception e) { 3719catch (Exception f) { 3827Exception deferredException = null; 3835int position, bool fireEvent, out Exception deferredException) { 4002catch (Exception exc) { 4019catch (Exception e) {
fx\src\data\System\Data\DataView.cs (2)
1441catch (Exception f) { 1519catch (Exception e) {
fx\src\data\System\Data\DataViewManager.cs (1)
353catch (Exception f) {
fx\src\data\System\Data\DBConcurrencyException.cs (2)
25public DBConcurrencyException(string message, Exception inner) : base(message, inner) { 29public DBConcurrencyException(string message, Exception inner, DataRow[] dataRows) : base(message, inner) {
fx\src\data\System\Data\FillErrorEventArgs.cs (2)
17private Exception errors; 43public Exception Errors {
fx\src\data\System\Data\Filter\DataExpression.cs (2)
122catch (Exception e) { 228catch (Exception e) {
fx\src\data\System\Data\Filter\ExpressionParser.cs (2)
244catch (Exception e){ 575catch (Exception e){
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\Filter\NameNode.cs (1)
47catch (Exception e) {
fx\src\data\System\Data\Merger.cs (1)
509catch (Exception e) {
fx\src\data\System\Data\Odbc\Odbc32.cs (11)
23static internal Exception ConnectionClosed() { 27static internal Exception OpenConnectionNoOwner() { 31static internal Exception UnknownSQLType(ODBC32.SQL_TYPE sqltype) { 34static internal Exception ConnectionStringTooLong() { 84static internal Exception NegativeArgument() { 87static internal Exception CantSetPropertyOnOpenConnection() { 90static internal Exception CantEnableConnectionpooling(ODBC32.RetCode retcode) { 93static internal Exception CantAllocateEnvironmentHandle(ODBC32.RetCode retcode) { 96static internal Exception FailedToGetDescriptorHandle(ODBC32.RetCode retcode) { 99static internal Exception NotInTransaction() { 102static internal Exception UnknownOdbcType(OdbcType odbctype) {
fx\src\data\System\Data\Odbc\OdbcCommand.cs (2)
993catch (Exception e) { 1011catch (Exception e) {
fx\src\data\System\Data\Odbc\OdbcConnection.cs (5)
297internal bool ConnectionIsAlive(Exception innerException) { 461internal Exception HandleErrorNoThrow(OdbcHandle hrHandle, ODBC32.RetCode retcode) { 484return (Exception)e; 490Exception e = HandleErrorNoThrow(hrHandle, retcode); 517catch (Exception e) {
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (1)
272Exception error = null;
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
874catch(Exception e) {
fx\src\data\System\Data\Odbc\OdbcTransaction.cs (2)
118Exception e = _connection.HandleErrorNoThrow(handle, retcode); 123catch (Exception e){
fx\src\data\System\Data\OleDb\ColumnBinding.cs (2)
1459private Exception CheckTypeValueStatusValue() { // MDAC 71644 1463private Exception CheckTypeValueStatusValue(Type expectedType) { // MDAC 71644
fx\src\data\System\Data\OleDb\DBPropSet.cs (1)
28private Exception lastErrorFromProvider;
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\OleDbCommand.cs (8)
371throw ODB.NoProviderSupportForParameters(_connection.Provider, (Exception)null); 677catch(Exception e) { 698catch(Exception e) { 831Exception e = OleDbConnection.ProcessResults(hr, _connection, this); 838private Exception ExecuteCommandTextSpecialErrorHandling(OleDbHResult hr, Exception e) { 1148Exception e = OleDbConnection.ProcessResults(hr, _connection, this); 1153Exception e = OleDbConnection.ProcessResults(hr, null, this);
fx\src\data\System\Data\OleDb\OleDbConnection.cs (4)
507catch (Exception e) { // eat the exception 546Exception e = OleDbConnection.ProcessResults(hr, null, this); 578static internal Exception ProcessResults(OleDbHResult hresult, OleDbConnection connection, object src) { 585Exception e = null;
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (5)
123Exception e = OleDbConnection.ProcessResults(hr, null, null); 263throw ODB.TransactionsNotSupported(Provider, (Exception)null); 327throw ODB.TransactionsNotSupported(Provider, (Exception)null); 626Exception e = OleDbConnection.ProcessResults(hr, connection, connection); 664catch (Exception e) {
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (2)
285Exception failure = null; 310catch(Exception e) {
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (2)
348catch (Exception e) { 396catch(Exception e) {
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (4)
1060Exception e; 1132Exception e = OleDbConnection.ProcessResults(hr, connection, command); 1848catch(Exception e) { 1899catch(Exception e) {
fx\src\data\System\Data\OleDb\OleDbEnumerator.cs (1)
66Exception f = OleDbConnection.ProcessResults(hr, null, null);
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\OleDb\OleDbParameter.cs (1)
423catch (Exception e) {
fx\src\data\System\Data\OleDb\OleDbTransaction.cs (1)
289Exception e = OleDbConnection.ProcessResults(hr, _parentConnection, this);
fx\src\data\System\Data\OleDb\OleDbWrapper.cs (1)
71Exception e = OleDbConnection.ProcessResults(hr, null, null);
fx\src\data\System\Data\OperationAbortedException.cs (2)
20private OperationAbortedException(string message, Exception innerException) : base(message, innerException) { 27static internal OperationAbortedException Aborted(Exception inner) {
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
154internal void Abort(Exception e) {
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (6)
447private Exception _resError; 830catch(Exception e) { 1056private Exception TryCloneCachedException() 1106Exception caughtException = null; 1143catch (Exception e) { 1586catch (Exception e) {
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
175catch (Exception e) {
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (2)
630catch (Exception e) { 970catch (Exception e) {
fx\src\data\System\Data\RecordManager.cs (1)
219catch (Exception e){
fx\src\data\System\Data\Select.cs (1)
521catch (Exception e) {
fx\src\data\System\Data\Sql\invalidudtexception.cs (1)
27internal InvalidUdtException(String message, Exception innerException) : base(message, innerException) {
fx\src\data\System\Data\Sql\SqlGenericUtil.cs (2)
27static internal Exception NullCommandText() { 30static internal Exception MismatchedMetaDataDirectionArrayLengths() {
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256Algorithm.cs (2)
193catch (Exception) { 337catch (Exception) {
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (18)
433catch (Exception e) { 812catch(Exception e) { 1016catch(Exception ex) { 1369catch (Exception e) { 1454catch(Exception e) { 2038catch(Exception ex) { 2067Exception exception = null; 2088catch (Exception e) { 2214catch (Exception ex) { 2272catch (Exception ex) { 2326catch (Exception ex) { 2361catch (Exception) { 2373catch (Exception ex) { 2522} catch (Exception cleanupEx) { 2531catch(Exception ex){ 2536} catch (Exception cleanupEx) { 2649catch (Exception ex) { 2710catch(Exception ex) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (42)
501catch (Exception) { 810catch(Exception e) { 914catch (Exception e) { 1283catch (Exception e) { 1350catch (Exception) { 1445Exception asyncException = ((Task)asyncResult).Exception; 1486catch (Exception e) { 1566catch (Exception e) { 1769catch (Exception e) { 1846catch (Exception e) { 1870Exception asyncException = ((Task)asyncResult).Exception; 1909catch (Exception e) { 1936catch (Exception e) { 2076Exception asyncException = ((Task)asyncResult).Exception; 2118catch (Exception e) { 2162catch (Exception e) { 2230catch (Exception e) { 2286catch (Exception e2) { 2343catch (Exception e) { 2428Exception e = t.Exception.InnerException; 2441catch (Exception e) { 2492Exception e = t.Exception.InnerException; 2505catch (Exception e) { 2535Exception exception = null; 2543catch (Exception e) { 2559catch (Exception e) { 2596Exception e = t.Exception.InnerException; 2609catch (Exception e) { 2937catch (Exception e) { 3124catch (Exception e) { 3186catch (Exception e) { 3411catch (Exception e) { 3483catch (Exception e) { 3512catch (Exception e) { 3546catch (Exception e) { 4337catch (Exception e) { 4560catch (Exception e) { 4635catch (Exception e) { 4663catch (Exception e) { 4702catch (Exception e) { 4754catch (Exception e) { 5192catch (Exception e) {
fx\src\data\System\Data\SqlClient\SqlCommandSet.cs (1)
278internal bool GetBatchedAffected(int commandIdentifier, out int recordsAffected, out Exception error) {
fx\src\data\System\Data\SqlClient\SqlConnection.cs (5)
1423catch (Exception e) { 1476Exception e = retryTask.Exception.InnerException; 1508catch (Exception e) { 1853catch (Exception e) { // MDAC 53175 2218catch (Exception e) {
fx\src\data\System\Data\SqlClient\SqlDataAdapter.cs (1)
203override protected bool GetBatchedRecordsAffected(int commandIdentifier, out int recordsAffected, out Exception error) {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (13)
821catch (Exception) { 1706catch (Exception e) { 1991catch (Exception ex) { 2055catch (Exception e) { 4256catch (Exception ex) { 4329catch (Exception ex) { 4375catch (Exception ex) { 4443} catch (Exception ex) { 4476catch (Exception ex) { 4601catch (Exception) { 4626catch (Exception ex) { 4640catch (Exception e) { 4663Exception e = task.Exception.InnerException;
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
333catch (Exception e) {
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (2)
144Exception promoteException; 343Exception commitException;
fx\src\data\System\Data\SqlClient\SqlDependency.cs (3)
638catch (Exception e) { // Discard stop failure! 661catch (Exception e) { 772catch (Exception e) {
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (18)
185catch (Exception e) { 330catch (Exception e) { 393catch (Exception e) { 405catch (Exception f) { 460catch (Exception e) { 542catch (Exception e) { 617catch (Exception e) { 657catch (Exception e) { 694catch (Exception e) { 712catch (Exception f) { 722catch (Exception f) { 793catch (Exception e) { 885catch (Exception e) { 905catch (Exception e) { 988catch (Exception e) { 1003catch (Exception e) { 1033catch (Exception e) { 1357catch (Exception f) {
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (3)
265catch (Exception e) { 310catch (Exception e) { 536catch(Exception e) {
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\SqlInternalConnection.cs (1)
321catch (Exception e) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (2)
892catch (Exception e) { 1430catch (Exception e) {
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (6)
218catch (Exception e) { 239catch (Exception e) { 284catch (Exception e) { 384catch (Exception e) { 432catch (Exception e) { 464catch (Exception e) {
fx\src\data\System\Data\SqlClient\SqlParameter.cs (3)
71private Exception _udtLoadError; 973catch(Exception e) { 1472internal void SetUdtLoadError(Exception e) { // SQL BU DT 329981
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (4)
204catch (Exception e) { 246Exception lastException = null; 255} catch (Exception e) { 330} catch (Exception e) {
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (1)
254catch (Exception ex)
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (2)
201catch (Exception ex) 258catch (Exception ex)
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
236catch (Exception e) {
fx\src\data\System\Data\SqlClient\SqlSymmetricKeyCache.cs (1)
92catch (Exception e) {
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\SqlClient\TdsParser.cs (13)
1493catch (Exception) { 5357catch (Exception e) { 6864catch (Exception e) { 7479catch (Exception e) { 7870catch (Exception e) { 7894internal void FailureCleanup(TdsParserStateObject stateObj, Exception e) { 8026catch (Exception e) { 8273catch (Exception e) { 8599catch (Exception e) { 8615catch (Exception e) { 8654private void TdsExecuteRPC_OnFailure(Exception exc, TdsParserStateObject stateObj) { 8692Exception exc = tsk.Exception.InnerException; 8727catch (Exception e) {
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (11)
218volatile private Exception _delayedWriteAsyncCallbackException = null; // set by write async callback if completion source is not yet created 786catch (Exception e) { 2054catch (Exception e) { 2086catch (Exception ex) { 2493catch (Exception e) { 2535catch (Exception ex) { 2568catch (Exception e) { 2582var delayedException = Interlocked.Exchange(ref _delayedWriteAsyncCallbackException, null); 2670var delayedException = Interlocked.Exchange(ref _delayedWriteAsyncCallbackException, null); 2791catch (Exception e) { 2889var delayedException = Interlocked.Exchange(ref _delayedWriteAsyncCallbackException, null);
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
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
119catch (Exception ex) {
fx\src\data\System\Data\XDRSchema.cs (2)
465catch (Exception e) { 484catch (Exception e) {
fx\src\data\System\Data\xmlsaver.cs (1)
1941catch (Exception ex)
fx\src\data\System\NewXml\XmlDataDocument.cs (3)
814catch (Exception e) { 1514catch (Exception e) { 2157catch (Exception e) {
System.Data.DataSetExtensions (2)
System\Data\DataSetUtil.cs (1)
122static internal bool IsCatchableExceptionType(Exception e)
System\Data\DataTableExtensions.cs (1)
211catch (Exception e)
System.Data.Entity (142)
System\Data\Common\DataRecord.cs (2)
161catch (Exception e) 235catch (Exception e)
System\Data\Common\DbProviderManifest.cs (1)
160catch (Exception e)
System\Data\Common\DbProviderServices.cs (5)
68catch (Exception e) 148catch (Exception e) 176catch (Exception e) 204catch (Exception e) 230catch (Exception e)
System\Data\Common\EntitySql\TypeResolver.cs (1)
545private static Exception AmbiguousMetadataMemberName(ErrorContext errCtx, string name, MetadataNamespace ns1, MetadataNamespace ns2)
System\Data\Common\EntityUtil.cs (34)
264static internal ArgumentException Argument(string error, Exception inner) { 270static internal ArgumentException Argument(string error, string parameter, Exception inner) { 285static internal EntityCommandExecutionException CommandExecution(string message, Exception innerException) { 288static internal EntityCommandCompilationException CommandCompilation(string message, Exception innerException) { 306static internal InvalidOperationException InvalidOperation(string error, Exception inner) { 316static internal MetadataException Metadata(string message, Exception inner) 361static internal EntitySqlException EntitySqlError( string message, Exception innerException) 383static internal EntitySqlException EntitySqlError( System.Data.Common.EntitySql.ErrorContext errCtx, string message, Exception innerException ) 490static internal ProviderIncompatibleException ProviderIncompatible(string error, Exception innerException) { 496static internal EntityException Provider(Exception inner) { 499static internal EntityException Provider(string parameter, Exception inner) { 502static internal EntityException ProviderExceptionWithMessage(string message, Exception inner) { 545static internal ArgumentException ItemDuplicateIdentity(string identity, string parameter, Exception inner) { 729static internal Exception InternalError(InternalErrorCode internalError) { 733static internal Exception InternalError(InternalErrorCode internalError, int location, object additionalInfo) { 742static internal Exception InternalError(InternalErrorCode internalError, int location) { 1189internal static InvalidOperationException ProxyMetadataIsUnavailable(Type type, Exception inner) { 1207internal static ArgumentException InvalidConnection(bool isConnectionConstructor, Exception innerException) 1218internal static ArgumentException InvalidConnectionString(string parameter, Exception inner) { 1221internal static ArgumentException InvalidConnection(string parameter, Exception inner) { 1328internal static InvalidOperationException AcceptAllChangesFailure(Exception e) { 1401static internal Exception InvalidConnectionOptionValue(string key) 1447internal static ArgumentException MissingKeyValue(string argument, string keyField, string typeName, Exception inner) { 1637static internal UpdateException Update(string message, Exception innerException, params IEntityStateEntry[] stateEntries) { 1640static internal UpdateException Update(string message, Exception innerException, IEnumerable<IEntityStateEntry> stateEntries) 1644static internal OptimisticConcurrencyException UpdateConcurrency(long rowsAffected, Exception innerException, IEnumerable<IEntityStateEntry> stateEntries) 1707static internal Exception EntityParameterCollectionInvalidIndex(int index, int count) 1711static internal Exception EntityParameterCollectionInvalidParameterName(string parameterName) 1715static internal Exception EntityParameterNull(string parameter) 1719static internal Exception InvalidEntityParameterType(object invalidValue) 1876catch (Exception ex) 1900catch (Exception e) 1958static internal bool IsCatchableExceptionType (Exception e) { 1971static internal bool IsCatchableEntityExceptionType(Exception e)
System\Data\Common\Internal\Materialization\Coordinator.cs (1)
280catch (Exception e)
System\Data\Common\Internal\Materialization\Shaper.cs (8)
876catch (Exception e) 901protected abstract Exception CreateNullValueException(); 907protected abstract Exception CreateWrongTypeException(Type resultType); 921protected override Exception CreateNullValueException() 926protected override Exception CreateWrongTypeException(Type resultType) 951protected override Exception CreateNullValueException() 959protected override Exception CreateWrongTypeException(Type resultType) 1199catch (Exception e)
System\Data\EntityClient\EntityCommandDefinition.cs (2)
142catch (Exception e) { 478catch (Exception e) {
System\Data\EntityClient\EntityConnection.cs (11)
187catch (Exception e) 245catch (Exception e) 286catch (Exception e) 311catch (Exception e) 341catch (Exception e) 564catch (Exception e) 595catch (Exception ex) 712catch (Exception e) 772catch (Exception e) 900catch (Exception e) 1202catch (Exception e)
System\Data\EntityClient\EntityDataReader.cs (1)
473catch (Exception e)
System\Data\EntityClient\EntityTransaction.cs (2)
94catch (Exception e) 115catch (Exception e)
System\Data\EntityCommandCompilationException.cs (1)
52public EntityCommandCompilationException(string message, Exception innerException)
System\Data\EntityCommandExecutionException.cs (1)
52public EntityCommandExecutionException(string message, Exception innerException)
System\Data\EntityException.cs (1)
44public EntityException(string message, Exception innerException)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (2)
574Exception ex = message as Exception;
System\Data\EntitySqlException.cs (4)
77public EntitySqlException(string message, Exception innerException) 103internal static EntitySqlException Create(ErrorContext errCtx, string errorMessage, Exception innerException) 116Exception innerException) 130private EntitySqlException(string message, string errorDescription, string errorContext, int line, int column, Exception innerException)
System\Data\InternalMappingException.cs (1)
49internal InternalMappingException(string message, Exception innerException) // required ctor
System\Data\InvalidCommandTreeException.cs (1)
39public InvalidCommandTreeException(string message, Exception innerException)
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
305catch (Exception e)
System\Data\Mapping\Update\Internal\RecordConverter.cs (1)
86catch (Exception e)
System\Data\Mapping\Update\Internal\TableChangeProcessor.cs (1)
150catch (Exception e)
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (4)
402catch (Exception e) 567catch (Exception e) 789catch (Exception e) 822internal static bool RequiresContext(Exception e)
System\Data\Mapping\ViewGeneration\GeneratedView.cs (4)
94Exception parserException; 192Exception parserException; 238out Exception parserException) 272catch (Exception e)
System\Data\MappingException.cs (1)
45public MappingException(string message, Exception innerException) // required ctor
System\Data\Metadata\AspProxy.cs (2)
51catch (Exception e) 87catch (Exception e)
System\Data\Metadata\EdmSchemaError.cs (3)
49internal EdmSchemaError(string message, int errorCode, EdmSchemaErrorSeverity severity, Exception exception) 79internal EdmSchemaError(string message, int errorCode, EdmSchemaErrorSeverity severity, string schemaLocation, int line, int column, Exception exception) 90private void Initialize(int errorCode, EdmSchemaErrorSeverity severity, string schemaLocation, int line, int column, Exception exception)
System\Data\MetadataException.cs (1)
47public MetadataException(string message, Exception innerException) // required ctor
System\Data\ObjectNotFoundException.cs (1)
42public ObjectNotFoundException(string message, Exception innerException)
System\Data\Objects\DataClasses\RelationshipManager.cs (3)
385throw throwArgumentException ? (Exception)new ArgumentException(message) : (Exception)new InvalidOperationException(message); 725internal static Exception UnableToGetMetadata(IEntityWrapper wrappedOwner, string relationshipName)
System\Data\Objects\ELinq\ExpressionVisitorHelpers.cs (2)
21internal static Exception UnhandledExpressionType(ExpressionType expressionType) 26internal static Exception UnhandledBindingType(MemberBindingType memberBindingType)
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (2)
89catch (Exception e) 208catch (Exception)
System\Data\Objects\Internal\PocoPropertyAccessorStrategy.cs (4)
62catch (Exception ex) 94catch (Exception ex) 174catch (Exception ex) 233catch (Exception ex)
System\Data\Objects\NextResultGenerator.cs (1)
46catch (Exception e)
System\Data\Objects\ObjectContext.cs (4)
1532catch (Exception) 2428catch (Exception e) 2621catch (Exception e) 2686catch (Exception e)
System\Data\OptimisticConcurrencyException.cs (2)
46public OptimisticConcurrencyException(string message, Exception innerException) 57public OptimisticConcurrencyException(string message, Exception innerException, IEnumerable<ObjectStateEntry> stateEntries)
System\Data\PropertyConstraintException.cs (2)
53public PropertyConstraintException(string message, Exception innerException) // required ctor 74public PropertyConstraintException(string message, string propertyName, Exception innerException) // required ctor
System\Data\ProviderIncompatibleException.cs (1)
43public ProviderIncompatibleException(string message, Exception innerException)
System\Data\Query\InternalTrees\Dump.cs (2)
120catch (Exception e) { 851catch (Exception e) {
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1050catch (Exception exception)
System\Data\Spatial\DefaultSpatialServices.cs (1)
52private static Exception SpatialServicesUnavailable()
System\Data\Spatial\Internal\SpatialExceptions.cs (10)
23internal static Exception ProviderValueNotCompatibleWithSpatialServices() 41internal static Exception GeographyValueNotCompatibleWithSpatialServices(string argumentName) 47internal static Exception WellKnownGeographyValueNotValid(string argumentName) 53internal static Exception CouldNotCreateWellKnownGeographyValueNoSrid(string argumentName) 59internal static Exception CouldNotCreateWellKnownGeographyValueNoWkbOrWkt(string argumentName) 69internal static Exception GeometryValueNotCompatibleWithSpatialServices(string argumentName) 75internal static Exception WellKnownGeometryValueNotValid(string argumentName) 81internal static Exception CouldNotCreateWellKnownGeometryValueNoSrid(String argumentName) 87internal static Exception CouldNotCreateWellKnownGeometryValueNoWkbOrWkt(String argumentName) 97internal static Exception SqlSpatialServices_ProviderValueNotSqlType(Type requiredType)
System\Data\SqlClient\IDbSpatialValue.cs (3)
33Exception NotSqlCompatible(); 136public Exception NotSqlCompatible() { return EntityUtil.GeographyValueNotSqlCompatible(); } 206public Exception NotSqlCompatible() { return EntityUtil.GeometryValueNotSqlCompatible(); }
System\Data\SqlClient\SqlProviderServices.cs (2)
749catch (Exception e) 758catch (Exception ie)
System\Data\SqlClient\SqlSpatialServices.cs (2)
216private static TValue CreateWellKnownValue<TValue>(IDbSpatialValue spatialValue, Func<Exception> onMissingSrid, Func<Exception> onMissingWkbAndWkt, Func<int, byte[], string, TValue> onValidValue)
System\Data\UpdateException.cs (2)
52public UpdateException(string message, Exception innerException) 63public UpdateException(string message, Exception innerException, IEnumerable<ObjectStateEntry> stateEntries)
System.Data.Entity.Design (22)
System\Data\Entity\Design\Common\EDesignUtil.cs (6)
23internal static string GetMessagesFromEntireExceptionChain(Exception e) 28for (Exception inner = e.InnerException; inner != null; inner = inner.InnerException) 100static internal ArgumentException Argument(string message, Exception inner) 113static internal StrongTypingException StrongTyping(string error, Exception innerException) { 118static internal StrongTypingException StonglyTypedAccessToNullValue(string columnName, string tableName, Exception innerException) { 160static internal ProviderIncompatibleException ProviderIncompatible(string message, Exception inner)
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
242internal static bool IsCatchableExceptionType(Exception e)
System\Data\Entity\Design\EntityCodeGenerator.cs (2)
385catch (Exception e) 659Exception actual = e.InnerException != null ? e.InnerException : e;
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
287internal void AddError(string message, ModelBuilderErrorCode errorCode, EdmSchemaErrorSeverity severity, Exception e) 443catch (Exception e)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (2)
210catch (Exception e) 399catch (Exception e)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
50catch (Exception e)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (3)
367public void AddError(ModelBuilderErrorCode errorCode, EdmSchemaErrorSeverity severity, Exception ex) 372internal void AddError(string message, ModelBuilderErrorCode errorCode, EdmSchemaErrorSeverity severity, Exception ex) 377internal void AddError(ModelBuilderErrorCode errorCode, EdmSchemaErrorSeverity severity, Exception ex, string itemIdentity)
System\Data\EntityModel\EntityClassGenerator.cs (5)
140catch (Exception e) 232catch (Exception e) 332private static EdmSchemaError CreateErrorForException(System.Data.EntityModel.SchemaObjectModel.ErrorCode errorCode, System.Exception exception, string sourceLocation) 340internal static EdmSchemaError CreateErrorForException(ModelBuilderErrorCode errorCode, System.Exception exception, string sourceLocation) 348internal static EdmSchemaError CreateErrorForException(ModelBuilderErrorCode errorCode, System.Exception exception)
System.Data.Linq (7)
Exceptions.cs (3)
16public ChangeConflictException(string message, Exception innerException) : base(message, innerException) { } 32public DuplicateKeyException(object duplicate, string message, Exception innerException) 55public ForeignKeyReferenceAlreadyHasValueException(string message, Exception innerException) : base(message, innerException) { }
SqlClient\Error.cs (1)
14static internal Exception ExpressionNotSupportedForSqlServerVersion(Collection<string> reasons) {
SqlClient\Query\SqlMethodCallConverter.cs (1)
985internal static Exception GetMethodSupportException(SqlMethodCall mc) {
SqlClient\Reader\ObjectReaderCompiler.cs (1)
87public static Exception ErrorAssignmentToNull(Type type) {
SqlClient\SqlProvider.cs (1)
766} catch (Exception) {
System.Data.Services (39)
parent\Client\System\Data\Services\Client\BatchStream.cs (1)
340internal Exception ValidateNoDataBeyondEndOfBatch()
System\Data\Services\DataService.cs (8)
226catch (Exception handlingException) 1698catch (Exception ex) 1744catch (Exception exception) 2354Exception exceptionEncountered = null; 2374catch (Exception exception) 2537catch (Exception exception) 2586Exception ex = this.batchRequestStream.ValidateNoDataBeyondEndOfBatch(); 2654Exception exception,
System\Data\Services\DataServiceException.cs (4)
140public DataServiceException(string message, Exception innerException) 163public DataServiceException(int statusCode, string errorCode, string message, string messageXmlLang, Exception innerException) 341internal static DataServiceException CreatePreConditionFailedError(string message, Exception innerException) 364internal static DataServiceException CreateBadRequestError(string message, Exception innerException)
System\Data\Services\Epm\EpmSyndicationContentSerializer.cs (1)
198catch (Exception e)
System\Data\Services\Error.cs (1)
212private static T Trace<T>(T exception) where T : Exception
System\Data\Services\ErrorHandler.cs (10)
64internal static void HandleBatchProcessException(IDataService service, DataServiceHostWrapper host, Exception exception, StreamWriter writer) 97internal static void HandleBatchRequestException(IDataService service, Exception exception, StreamWriter writer) 126internal static Action<Stream> HandleBeforeWritingException(Exception exception, IDataService service, string accept, string acceptCharset) 158internal static void HandleDuringWritingException(Exception exception, IDataService service, string contentType, IExceptionWriter exceptionWriter) 226private static Action<Stream> ProcessBenignException(Exception exception, IDataService service) 273private static DataServiceException ExtractErrorValues(Exception exception, out string errorCode, out string message, out string messageLang) 295private static void SerializeJsonException(JsonWriter writer, Exception exception) 331private static void SerializeXmlException(XmlWriter writer, Exception exception) 445Exception exception = (dataException == null) ? this.exceptionArgs.Exception : dataException.InnerException; 478Exception exception = (dataException == null) ? this.exceptionArgs.Exception : dataException.InnerException;
System\Data\Services\HandleExceptionArgs.cs (3)
29private Exception exception; 43internal HandleExceptionArgs(Exception exception, bool responseWritten, string contentType, bool verboseResponse) 57public Exception Exception
System\Data\Services\HttpProcessUtility.cs (1)
399catch (Exception e)
System\Data\Services\Parsing\ExpressionLexer.cs (1)
403private static Exception ParseError(string message)
System\Data\Services\Parsing\RequestQueryParser.cs (3)
1314private static Exception ParseError(string message) 1333/// <returns>A new <see cref="Exception"/>.</returns> 1334private static Exception IncompatibleOperandsError(string operationName, Expression left, Expression right, int pos)
System\Data\Services\Providers\ResourceType.cs (1)
289catch (Exception)
System\Data\Services\ResponseBodyWriter.cs (1)
209catch (Exception exception)
System\Data\Services\Serializers\JsonDeserializer.cs (1)
163catch (Exception e)
System\Data\Services\UpdatableWrapper.cs (1)
348Exception innerException = null;
System\Data\Services\WebUtil.cs (2)
377/// <param name="e"><see cref="Exception"/> to test.</param> 382internal static bool IsCatchableExceptionType(Exception e)
System.Data.Services.Client (48)
parent\Server\System\Data\Services\HttpProcessUtility.cs (1)
399catch (Exception e)
System\Data\Services\Client\BaseAsyncResult.cs (4)
42private Exception failure; 194internal Exception Failure 347catch (Exception ex) 383internal bool HandleFailure(Exception e)
System\Data\Services\Client\DataServiceClientException.cs (2)
53public DataServiceClientException(string message, Exception innerException) 74public DataServiceClientException(string message, Exception innerException, int statusCode)
System\Data\Services\Client\DataServiceContext.cs (14)
1647internal static Exception HandleResponse( 4258catch (Exception e) 4519private bool HandleFailure(PerRequest pereq, Exception e) 4886private void HandleOperationException(Exception e, HttpWebResponse response) 5275Exception exception = null; 5296Exception inner = null; 5433Exception ex = null; 5499Exception error = HandleResponse(statusCode, batch.GetResponseVersion(), batch.GetContentStream, false); 5627catch (Exception e) 5757catch (Exception e) 5839catch (Exception e) 5886catch (Exception e) 5972catch (Exception e) 6031catch (Exception e)
System\Data\Services\Client\DataServiceQueryException.cs (2)
60public DataServiceQueryException(string message, Exception innerException) 71public DataServiceQueryException(string message, Exception innerException, QueryOperationResponse response)
System\Data\Services\Client\DataServiceRequest.cs (1)
129Exception inEx = ex;
System\Data\Services\Client\DataServiceRequestException.cs (2)
55public DataServiceRequestException(string message, Exception innerException) 66public DataServiceRequestException(string message, Exception innerException, DataServiceResponse response)
System\Data\Services\Client\Descriptor.cs (2)
30private Exception saveError; 87internal Exception SaveError
System\Data\Services\Client\Error.cs (2)
46internal static InvalidOperationException InvalidOperation(string message, Exception innerException) 292private static T Trace<T>(T exception) where T : Exception
System\Data\Services\Client\GetReadStreamResult.cs (3)
66catch (Exception e) 121catch (Exception e) 195catch (Exception e)
System\Data\Services\Client\MemberAssignmentAnalysis.cs (6)
45private Exception incompatibleAssignmentsException; 72internal Exception IncompatibleAssignmentsException 112internal Exception CheckCompatibleAssignments(Type targetType, ref MemberAssignmentAnalysis previous) 209Exception incompatibleException = nested.CheckCompatibleAssignments(init.Type, ref previousNested); 300private static Exception CheckCompatibleAssignments(Type targetType, Expression[] previous, Expression[] candidate) 344private static Exception CheckCompatibleAssignmentsFail(Type targetType, Expression[] previous, Expression[] candidate)
System\Data\Services\Client\OperationResponse.cs (2)
28private Exception innerException; 54public Exception Error
System\Data\Services\Client\QueryResult.cs (5)
182catch (Exception e) 262catch (Exception e) 385Exception ex = DataServiceContext.HandleResponse(this.StatusCode, this.httpWebResponse.Headers[XmlConstants.HttpDataServiceVersion], this.GetResponseStream, false); 597catch (Exception e) 701catch (Exception e)
System\Data\Services\Client\Util.cs (2)
360internal static bool DoNotHandleException(Exception ex) 373internal static bool IsKnownClientExcption(Exception ex)
System.Data.Services.Design (3)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
117catch (Exception ex)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
465public void AddError(ModelBuilderErrorCode errorCode, EdmSchemaErrorSeverity severity, Exception ex) 469internal void AddError(string message, ModelBuilderErrorCode errorCode, EdmSchemaErrorSeverity severity, Exception ex)
System.Data.SqlXml (10)
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (1)
261catch (Exception e) {
System\Xml\Xsl\Runtime\XmlQueryContext.cs (1)
141catch (Exception e) {
System\Xml\Xsl\XslException.cs (2)
25public XslTransformException(Exception inner, string res, params string[] args) 121internal XslLoadException(Exception inner, ISourceLineInfo lineInfo)
System\Xml\Xsl\Xslt\QilGenerator.cs (1)
164catch (Exception e) {
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
232catch (Exception e) {
System\Xml\Xsl\XsltOld\Compiler.cs (1)
190catch (Exception e) {
System\Xml\Xsl\XsltOld\ContainerAction.cs (2)
181catch (Exception e) { 222catch (Exception e) {
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (1)
696catch (Exception e) {
System.Drawing (32)
commonui\System\Drawing\Advanced\Font.cs (1)
595catch( Exception ex ) {
commonui\System\Drawing\Advanced\FontFamily.cs (1)
285catch (Exception ex)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
3163internal static Exception StatusException(int status) {
commonui\System\Drawing\Advanced\GraphicsPath.cs (1)
228catch( Exception ex ){
commonui\System\Drawing\Advanced\GraphicsPathIterator.cs (1)
75catch( Exception ex ){
commonui\System\Drawing\Advanced\ImageAttributes.cs (1)
112catch( Exception ex ){
commonui\System\Drawing\Advanced\PrivateFontCollection.cs (1)
75catch ( Exception ex ){
commonui\System\Drawing\Advanced\SafeCustomLineCapHandle.cs (1)
37catch (Exception ex) {
commonui\System\Drawing\Advanced\StringFormat.cs (1)
192catch( Exception ex ){
commonui\System\Drawing\Brush.cs (1)
109catch( Exception ex ){
commonui\System\Drawing\FontConverter.cs (1)
162catch(Exception ex ){
commonui\System\Drawing\Graphics.cs (1)
411catch(Exception ex) // do not allow exceptions to propagate during disposing.
commonui\System\Drawing\Image.cs (1)
378catch( Exception ex ){
commonui\System\Drawing\Pen.cs (1)
218catch( Exception ex ){
commonui\System\Drawing\Region.cs (1)
224catch( Exception ex ){
commonui\System\Drawing\SystemFonts.cs (9)
48catch (Exception ex) { 90catch (Exception ex) { 131catch (Exception ex) { 172catch (Exception ex) { 213catch (Exception ex) { 237private static bool IsCriticalFontException( Exception ex ){ 268catch (Exception ex) { 320catch (Exception ex) { 340catch (Exception ex) {
commonui\System\Drawing\ToolboxBitmapAttribute.cs (2)
342} catch (Exception e) { 455catch (Exception e) {
misc\ClientUtils.cs (2)
37public static bool IsCriticalException(Exception ex) { 49public static bool IsSecurityOrCriticalException(Exception ex) {
misc\DbgUtil.cs (3)
250catch( Exception ex) 266private static bool IsCriticalException( Exception ex ) 360catch( Exception ex )
misc\GDI\WindowsGraphics.cs (1)
288catch(Exception ex )
System.IdentityModel (114)
System\IdentityModel\AsynchronousOperationException.cs (2)
38public AsynchronousOperationException(string message, Exception innerException) 47public AsynchronousOperationException(Exception innerException)
System\IdentityModel\AsyncResult.cs (3)
52Exception exception; 111protected void Complete(bool completedSynchronously, Exception exception) 163catch (Exception unhandledException)
System\IdentityModel\BadRequestException.cs (1)
38public BadRequestException(string message, Exception innerException)
System\IdentityModel\BufferManagerOutputStream.cs (1)
42protected override Exception CreateQuotaExceededException(int maxSizeQuota)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
444catch (Exception ex)
System\IdentityModel\Configuration\TypeResolveHelper.cs (1)
69catch (Exception inner)
System\IdentityModel\Diagnostics\TraceUtility.cs (1)
45internal static void TraceEvent( TraceEventType severity, int traceCode, string traceDescription, TraceRecord extendedData, object source, Exception exception )
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\LimitExceededException.cs (1)
40public LimitExceededException(string message, Exception innerException)
System\IdentityModel\Metadata\MetadataSerializationException.cs (1)
39public MetadataSerializationException(string message, Exception innerException)
System\IdentityModel\Metadata\MetadataSerializer.cs (4)
3255catch (Exception e) 3260Exception wrapped = TryWrapReadException(reader, e); 3331private static Exception TryWrapReadException(XmlReader reader, Exception inner)
System\IdentityModel\Protocols\WSTrust\InvalidRequestException.cs (1)
39public InvalidRequestException( string message, Exception innerException )
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationException.cs (1)
40public WSTrustSerializationException(string message, Exception inner)
System\IdentityModel\RequestException.cs (1)
37protected RequestException( string message, Exception innerException )
System\IdentityModel\RequestFailedException.cs (1)
38public RequestFailedException(string message, Exception innerException)
System\IdentityModel\SafeCryptHandles.cs (1)
82catch (Exception e)
System\IdentityModel\SecurityMessageSerializationException.cs (1)
20public SecurityMessageSerializationException(String message, Exception innerException)
System\IdentityModel\SecurityTokenService.cs (4)
804Exception unhandledException = null; 878catch (Exception e) 919Exception unhandledException = null; 966catch (Exception e)
System\IdentityModel\Selectors\SecurityTokenProvider.cs (1)
184catch (Exception e)
System\IdentityModel\Selectors\X509CertificateValidator.cs (3)
117Exception exception; 146internal bool TryValidate(X509Certificate2 certificate, out Exception exception) 262Exception exception;
System\IdentityModel\SignatureVerificationFailedException.cs (1)
35public SignatureVerificationFailedException(string message, Exception inner)
System\IdentityModel\SspiSafeHandles.cs (7)
362catch (Exception e) 634catch (Exception e) 726catch (Exception e) 763catch (Exception e) 800catch (Exception e) 843catch (Exception e) 1281catch (Exception e)
System\IdentityModel\Tokens\AudienceUriValidationFailedException.cs (1)
38public AudienceUriValidationFailedException( string message, Exception inner )
System\IdentityModel\Tokens\EncryptedTokenDecryptionFailedException.cs (1)
35public EncryptedTokenDecryptionFailedException( string message, Exception inner )
System\IdentityModel\Tokens\KerberosSecurityTokenHandler.cs (1)
112catch (Exception e)
System\IdentityModel\Tokens\KeyInfoSerializer.cs (4)
211catch (Exception e) 259catch (Exception e) 300catch (Exception e) 331bool ShouldWrapException(Exception e)
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (1)
185catch (Exception e)
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\IdentityModel\Tokens\SamlAssertion.cs (1)
667catch (Exception e)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
1043catch (Exception e)
System\IdentityModel\Tokens\SecurityTokenException.cs (1)
22public SecurityTokenException(String message, Exception innerException)
System\IdentityModel\Tokens\SecurityTokenExpiredException.cs (1)
35public SecurityTokenExpiredException(string message, Exception inner)
System\IdentityModel\Tokens\SecurityTokenNotYetValidException.cs (1)
36public SecurityTokenNotYetValidException(string message, Exception inner)
System\IdentityModel\Tokens\SecurityTokenReplayDetectedException.cs (1)
35public SecurityTokenReplayDetectedException(string message, Exception inner)
System\IdentityModel\Tokens\SecurityTokenValidationException.cs (1)
22public SecurityTokenValidationException(String message, Exception innerException)
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
612catch (Exception e)
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (1)
133catch (Exception e)
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
595catch (Exception e)
System\IdentityModel\TypedAsyncResult.cs (1)
59public void Complete( T result, bool completedSynchronously, Exception exception )
System\IdentityModel\UnsupportedTokenTypeBadRequestException.cs (1)
46public UnsupportedTokenTypeBadRequestException(string message, Exception exception)
System\IdentityModel\XmlBuffer.cs (1)
122Exception CreateInvalidStateException()
System\ServiceModel\Security\EncryptedType.cs (2)
258catch (Exception e) 287private SecurityKeyIdentifier ReadGenericXmlSecurityKeyIdentifier(XmlDictionaryReader localReader, Exception previousException)
System.IdentityModel.Selectors (30)
infocard\client\System\IdentityModel\Selectors\CardSpaceException.cs (1)
76public CardSpaceException(string message, Exception innerException)
infocard\client\System\IdentityModel\Selectors\IdentityValidationException.cs (1)
24public IdentityValidationException( string message, Exception innerException )
infocard\client\System\IdentityModel\Selectors\InfoCardArgumentException.cs (1)
32public InfoCardArgumentException(string message, Exception inner)
infocard\client\System\IdentityModel\Selectors\InfoCardBaseException.cs (1)
36protected InfoCardBaseException( int result, string message, Exception innerException )
infocard\client\System\IdentityModel\Selectors\InternalUserCancelledException.cs (1)
32public UserCancelledException(string message, Exception inner)
infocard\client\System\IdentityModel\Selectors\PolicyValidationException.cs (1)
28public PolicyValidationException( string message, Exception innerException )
infocard\client\System\IdentityModel\Selectors\ServiceBusyException.cs (1)
28public ServiceBusyException( string message, Exception innerException )
infocard\client\System\IdentityModel\Selectors\ServiceNotStartedException.cs (1)
27public ServiceNotStartedException( string message, Exception innerException )
infocard\client\System\IdentityModel\Selectors\StsCommunicationException.cs (1)
26public StsCommunicationException( string message, Exception innerException )
infocard\client\System\IdentityModel\Selectors\UIInitializationException.cs (1)
28public UIInitializationException( string message, Exception innerException )
infocard\client\System\IdentityModel\Selectors\UnsupportedPolicyOptionsException.cs (1)
28public UnsupportedPolicyOptionsException( string message, Exception innerException )
infocard\client\System\IdentityModel\Selectors\UntrustedRecipientException.cs (1)
28public UntrustedRecipientException( string message, Exception innerException )
infocard\client\System\IdentityModel\Selectors\UserCancellationException.cs (1)
27public UserCancellationException( string message, Exception innerException )
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (17)
178public static bool IsFatal(Exception e) 552public static void TraceAndLogException(Exception e) 573Exception current = ie.InnerException; 608Exception ex = ie; 645public static void TraceException(Exception e) 647Exception current = e; 665public static Exception ThrowHelperError(Exception e) 676public static Exception ThrowHelperErrorWithNoLogging(Exception e) 686public static Exception ThrowHelperWarning(Exception e) 696public static Exception ThrowHelperCritical(Exception e) 724public static Exception ThrowHelperArgumentNull(string err) 734public static Exception ThrowHelperArgument(string message) 743public static Exception ThrowHelperArgumentNull(string err, string message)
System.IO.Log (59)
System\IO\Log\Error.cs (28)
75public static Exception ExceptionForKnownCode(uint errorCode, 76Exception innerException) 325public static Exception ExceptionForKnownCode(uint errorCode) 330public static Exception ExceptionForUnknownCode(uint errorCode) 336public static Exception ExceptionForUnknownCode(uint errorCode, 337Exception innerException) 355public static Exception ConvertKnownException(COMException comException) 358Exception exception = ExceptionForKnownCode(errorCode, comException); 373public static Exception ArgumentInvalid(string resourceCode) 378public static Exception ArgumentNull(string argument) 383public static Exception ArgumentOutOfRange(string argument) 388public static Exception ArgumentOutOfRange(string argument, Exception exp) 393public static Exception DuplicateEnd() 398public static Exception EnumEnded() 403public static Exception EnumNotStarted() 408public static Exception InvalidAsyncResult() 413public static Exception InvalidOperation(string resourceCode) 418public static Exception IncompatibleVersion() 423public static Exception LogCorrupt() 428public static Exception NotArchivable() 433public static Exception NotSupported() 438public static Exception NotSupported(string resource) 443public static Exception PlatformNotSupported() 448public static Exception ObjectDisposed() 453public static Exception ReservationNotFound() 458public static Exception SequenceNumberInvalid() 465public static Exception SequenceNumberNotActive(string paramName)
System\IO\Log\FileRecordSequence.cs (1)
517catch (Exception exception)
System\IO\Log\FileRecordSequenceCompletedAsyncResult.cs (1)
51catch (Exception e)
System\IO\Log\FileRecordSequenceHelper.cs (2)
140catch (Exception exception) 348catch (Exception exception)
System\IO\Log\LogFlushAsyncResult.cs (1)
89catch (Exception e)
System\IO\Log\LogManagementAsyncResult.cs (5)
153catch (Exception e) 220catch (Exception e) 274catch (Exception e) 282catch (Exception exception) 307catch (Exception exception)
System\IO\Log\LogReserveAndAppendState.cs (4)
51Exception exceptionResult; 174catch (Exception e) 262catch (Exception e) 530void Complete(Exception error)
System\IO\Log\LogWriteRestartAreaState.cs (4)
39Exception exceptionResult; 142catch (Exception e) 230catch (Exception e) 432void Complete(Exception error)
System\IO\Log\OverlappedAsyncResult.cs (4)
38Exception storedException; 100internal void Complete(bool completedSynchronously, Exception exception) 198catch (Exception e) 220catch (Exception e)
System\IO\Log\ReservationCollection.cs (3)
93catch (Exception e) 131catch (Exception e) 235catch (Exception e)
System\IO\Log\ReservationNotFoundException.cs (1)
22public ReservationNotFoundException(string message, Exception inner)
System\IO\Log\SequenceFullException.cs (1)
22public SequenceFullException(string message, Exception inner)
System\IO\Log\UnsafeNativeMethods.cs (4)
610public static Exception FlushLogToLsnFilter(uint errorCode) 963public static Exception ReserveAndAppendLogFilter(uint errorCode) 1036public static Exception WriteLogRestartAreaFilter(uint errorCode) 1708public static Exception HandleLogFullFilter(uint errorCode)
System.Management (16)
Instrumentation\EventSource.cs (2)
219public Exception exception = null; 296catch(Exception e)
Instrumentation\SchemaMapping.cs (1)
38 static public void ThrowUnsupportedMember(MemberInfo mi, Exception innerException)
InteropClasses\WMIInterop.cs (8)
1966public Exception exception = null; 2069catch (Exception e) 2183private Exception exception ; // Exception thrown from worker method (if any). Exposed as property. 2199public System.Exception Exception 2455catch ( Exception e ) 2473catch ( Exception e ) 2491catch ( Exception e ) 2509catch ( Exception e )
managementexception.cs (4)
618 internal static void ThrowWithExtendedInfo(Exception e) 647 internal ManagementException(Exception e, string msg, ManagementBaseObject errObj) : base (msg, e) 706 public ManagementException(string message,Exception innerException):this(innerException, message, null) 730 private static string GetMessage(Exception e)
managementscope.cs (1)
65catch (Exception e)
System.Messaging (8)
System\Messaging\Design\QueuePathDialog.cs (1)
169catch (Exception e)
System\Messaging\MessageQueue.cs (2)
3804catch (Exception e) 3973catch (Exception)
System\Messaging\MessageQueuePermissionAttribute.cs (5)
43Exception e = CheckProperties(); 64Exception e = CheckProperties(); 88Exception e = CheckProperties(); 112Exception e = CheckProperties(); 148private Exception CheckProperties()
System.Net (22)
net\Logging.cs (1)
165catch (Exception exception) {
net\PeerToPeer\Collaboration\ContactManager.cs (2)
29Exception error, 1557Exception ex = null;
net\PeerToPeer\Collaboration\Peer.cs (5)
142Exception error, 176Exception error, 201Exception error, 251catch (Exception e){ 1010Exception m_latestException;
net\PeerToPeer\Collaboration\PeerCollaboration.cs (3)
59catch (Exception e){ 121catch (Exception e){ 284catch (Exception e){
net\PeerToPeer\Collaboration\PeerContact.cs (3)
474Exception ex = null; 481catch (Exception e){ 613catch (Exception){
net\PeerToPeer\Collaboration\PeerNearMe.cs (5)
127catch (Exception e){ 148catch (Exception e){ 159catch (Exception e){ 242Exception exception = null; 273catch (Exception e){
net\PeerToPeer\PeerNameResolver.cs (1)
55Exception error,
net\PeerToPeer\PeerToPeerException.cs (2)
47public PeerToPeerException(string message, Exception innerException) : base(message, innerException) { } 120catch(Exception ex)
System.Runtime.Caching (4)
System\Caching\Dbg.cs (4)
704internal static void Trace(string tagName, string message, Exception e) { 717internal static void Trace(string tagName, Exception e) { 730internal static void Trace(string tagName, string message, Exception e, bool includePrefix) { 742public static void TraceException(String tagName, Exception e) {
System.Runtime.DurableInstancing (73)
System\Runtime\DurableInstancing\InstanceCollisionException.cs (3)
24public InstanceCollisionException(string message, Exception innerException) 34public InstanceCollisionException(XName commandName, Guid instanceId, Exception innerException) 39public InstanceCollisionException(XName commandName, Guid instanceId, string message, Exception innerException)
System\Runtime\DurableInstancing\InstanceCompleteException.cs (3)
24public InstanceCompleteException(string message, Exception innerException) 34public InstanceCompleteException(XName commandName, Guid instanceId, Exception innerException) 39public InstanceCompleteException(XName commandName, Guid instanceId, string message, Exception innerException)
System\Runtime\DurableInstancing\InstanceHandle.cs (3)
399internal void CancelReclaim(Exception reason) 910Exception exception = timeoutException; 921catch (Exception e)
System\Runtime\DurableInstancing\InstanceHandleConflictException.cs (3)
24public InstanceHandleConflictException(string message, Exception innerException) 34public InstanceHandleConflictException(XName commandName, Guid instanceId, Exception innerException) 39public InstanceHandleConflictException(XName commandName, Guid instanceId, string message, Exception innerException)
System\Runtime\DurableInstancing\InstanceKeyCollisionException.cs (3)
28public InstanceKeyCollisionException(string message, Exception innerException) 38public InstanceKeyCollisionException(XName commandName, Guid instanceId, InstanceKey instanceKey, Guid conflictingInstanceId, Exception innerException) 43public InstanceKeyCollisionException(XName commandName, Guid instanceId, InstanceKey instanceKey, Guid conflictingInstanceId, string message, Exception innerException)
System\Runtime\DurableInstancing\InstanceKeyCompleteException.cs (3)
27public InstanceKeyCompleteException(string message, Exception innerException) 37public InstanceKeyCompleteException(XName commandName, InstanceKey instanceKey, Exception innerException) 42public InstanceKeyCompleteException(XName commandName, Guid instanceId, InstanceKey instanceKey, string message, Exception innerException)
System\Runtime\DurableInstancing\InstanceKeyNotReadyException.cs (3)
27public InstanceKeyNotReadyException(string message, Exception innerException) 37public InstanceKeyNotReadyException(XName commandName, InstanceKey instanceKey, Exception innerException) 42public InstanceKeyNotReadyException(XName commandName, Guid instanceId, InstanceKey instanceKey, string message, Exception innerException)
System\Runtime\DurableInstancing\InstanceLockedException.cs (5)
29public InstanceLockedException(string message, Exception innerException) 39public InstanceLockedException(XName commandName, Guid instanceId, Exception innerException) 44public InstanceLockedException(XName commandName, Guid instanceId, string message, Exception innerException) 54public InstanceLockedException(XName commandName, Guid instanceId, Guid instanceOwnerId, IDictionary<XName, object> serializableInstanceOwnerMetadata, Exception innerException) 60public InstanceLockedException(XName commandName, Guid instanceId, Guid instanceOwnerId, IDictionary<XName, object> serializableInstanceOwnerMetadata, string message, Exception innerException)
System\Runtime\DurableInstancing\InstanceLockLostException.cs (3)
24public InstanceLockLostException(string message, Exception innerException) 34public InstanceLockLostException(XName commandName, Guid instanceId, Exception innerException) 39public InstanceLockLostException(XName commandName, Guid instanceId, string message, Exception innerException)
System\Runtime\DurableInstancing\InstanceNotReadyException.cs (3)
24public InstanceNotReadyException(string message, Exception innerException) 34public InstanceNotReadyException(XName commandName, Guid instanceId, Exception innerException) 39public InstanceNotReadyException(XName commandName, Guid instanceId, string message, Exception innerException)
System\Runtime\DurableInstancing\InstanceOwner.cs (2)
265internal void FaultBind(ref InstanceHandleReference reference, ref List<InstanceHandleReference> handlesPendingResolution, Exception reason) 528internal Exception Reason { get; set; }
System\Runtime\DurableInstancing\InstanceOwnerException.cs (3)
26public InstanceOwnerException(string message, Exception innerException) 36public InstanceOwnerException(XName commandName, Guid instanceOwnerId, Exception innerException) 41public InstanceOwnerException(XName commandName, Guid instanceOwnerId, string message, Exception innerException)
System\Runtime\DurableInstancing\InstancePersistenceCommandException.cs (5)
25public InstancePersistenceCommandException(string message, Exception innerException) 41public InstancePersistenceCommandException(XName commandName, Exception innerException) 46public InstancePersistenceCommandException(XName commandName, string message, Exception innerException) 51public InstancePersistenceCommandException(XName commandName, Guid instanceId, Exception innerException) 57public InstancePersistenceCommandException(XName commandName, Guid instanceId, string message, Exception innerException)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (19)
130catch (Exception exception) 228public Exception CreateBindReclaimedLockException(long instanceVersion) 794catch (Exception exception) 963OnCompleting = new Action<AsyncResult, Exception>(SimpleCleanup); 970Exception completionException = null; 975catch (Exception exception) 1000OnCompleting = new Action<AsyncResult, Exception>(SimpleCleanup); 1033Exception completionException = null; 1039OnCompleting = new Action<AsyncResult, Exception>(Cleanup); 1058catch (Exception exception) 1178thisPtr.OnCompleting = new Action<AsyncResult, Exception>(thisPtr.Cleanup); 1421Exception completionException = null; 1427catch (Exception exception) 1492Exception exception = AfterCommitWait(); 1526Exception AfterCommitWait() 1554void SimpleCleanup(AsyncResult result, Exception exception) 1581void Cleanup(AsyncResult result, Exception exception) 1663Exception completionException = null; 1672catch (Exception exception)
System\Runtime\DurableInstancing\InstancePersistenceException.cs (3)
27public InstancePersistenceException(string message, Exception innerException) 37public InstancePersistenceException(XName commandName, Exception innerException) 48public InstancePersistenceException(XName commandName, string message, Exception innerException)
System\Runtime\DurableInstancing\InstanceStore.cs (1)
427catch (Exception exception)
System\Runtime\PersistencePipeline.cs (7)
217catch (Exception exception) 388Exception CreateReadOnlyException() 400Exception exception; 434catch (Exception exception) 500catch (Exception exception) 512void ProcessException(Exception exception) 549catch (Exception exception)
System\Runtime\TransactedAsyncResult.cs (1)
164catch (Exception exception)
System.Runtime.Remoting (53)
channels\core\basicasyncresult.cs (4)
28private Exception _exception; 80internal Exception Exception { get { return _exception; } } 82internal void SetComplete(Object returnValue, Exception exception) 96catch (Exception e)
channels\core\corechannel.cs (2)
154catch (Exception exception) 1078internal static void DebugException(String name, Exception e)
channels\core\socketcache.cs (2)
122catch (Exception) { 133}catch (Exception) {}
channels\core\socketmanager.cs (5)
133protected virtual void SendErrorMessageIfPossible(Exception e) 249catch (Exception e) 287catch (Exception e) 302internal void CloseOnFatalError(Exception e) 336catch (Exception e)
channels\core\streamhelper.cs (3)
107catch (Exception e) 205catch (Exception e) 222catch (Exception e)
channels\http\httpclientchannel.cs (5)
982internal void RetryOrDispatchException(Exception e) 1033catch (Exception e) 1054catch (Exception e) 1098catch (Exception e) 1124catch (Exception e)
channels\http\httpremotinghandler.cs (6)
51private static Exception s_fatalException = null; 114catch (Exception e) 181catch (Exception e) 202catch (Exception e) 281string GenerateFaultString(HttpContext context, Exception e) { 291void WriteException(HttpContext context, Exception e) {
channels\http\httpserverchannel.cs (4)
67private Exception _startListeningException = null; // if an exception happens on the listener thread when attempting 321Exception e = _startListeningException; 432catch (Exception e) 486catch (Exception e)
channels\http\httpstreams.cs (2)
546string GenerateFaultString(Exception e) { 556protected override void SendErrorMessageIfPossible(Exception e)
channels\ipc\ipcclientchannel.cs (1)
342catch (Exception e)
channels\ipc\ipcmanager.cs (1)
197protected override void SendErrorMessageIfPossible(Exception e)
channels\ipc\ipcserverchannel.cs (4)
53private Exception _startListeningException = null; // if an exception happens on the listener thread when attempting 267Exception e = _startListeningException; 314catch (Exception e) { 436catch( Exception e) {
channels\ipc\portcache.cs (1)
107catch(Exception)
channels\sinks\binaryformattersinks.cs (3)
167catch (Exception e) 194catch (Exception e) 646catch(Exception e)
channels\sinks\soapformattersinks.cs (3)
173catch (Exception e) 200catch (Exception e) 717catch(Exception e)
channels\tcp\tcpclientchannel.cs (1)
530catch (Exception e)
channels\tcp\tcpserverchannel.cs (2)
455catch (Exception e) 469}catch(Exception){}
channels\tcp\tcpstreams.cs (3)
273protected override void SendErrorMessageIfPossible(Exception e) 370string GenerateFaultString(Exception e) { 380public void SendErrorResponse(Exception e, bool bCloseConnection)
metadata\metadata.cs (1)
222catch (Exception ex)
System.Runtime.Serialization (53)
System\Runtime\Serialization\DataContract.cs (4)
531catch (Exception ex) 1022catch (Exception ex) 1045catch (Exception ex) 1062catch (Exception ex)
System\Runtime\Serialization\DataContractSet.cs (1)
510catch (Exception ex)
System\Runtime\Serialization\Diagnostics\TraceUtility.cs (1)
48internal static void Trace(TraceEventType severity, int traceCode, string traceDescription, TraceRecord record, Exception exception)
System\Runtime\Serialization\DictionaryGlobals.cs (1)
177catch (Exception ex)
System\Runtime\Serialization\InvalidDataContractException.cs (1)
22public InvalidDataContractException(String message, Exception innerException)
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
221catch (Exception ex)
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
353catch (Exception e)
System\Runtime\Serialization\SchemaImporter.cs (1)
65catch (Exception ex)
System\Runtime\Serialization\XmlObjectSerializer.cs (3)
400internal static Exception CreateSerializationExceptionWithReaderDetails(string errorMessage, XmlReaderDelegator reader) 411static internal SerializationException CreateSerializationException(string errorMessage, Exception innerException) 421static string GetTypeInfoError(string errorMessage, Type type, Exception innerException)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
1073public static Exception CreateUnexpectedStateException(XmlNodeType expectedState, XmlReaderDelegator xmlReader)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
218Exception CreateInvalidPrimitiveTypeException(Type type)
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
279Exception CreateInvalidPrimitiveTypeException(Type type)
System\Runtime\Serialization\XsdDataContractExporter.cs (7)
87void TraceExportError(Exception exception) 117catch (Exception ex) 149catch (Exception ex) 175catch (Exception ex) 302catch (Exception ex) 336catch (Exception ex) 365catch (Exception ex)
System\Runtime\Serialization\XsdDataContractImporter.cs (3)
261catch (Exception ex) 286void TraceImportError(Exception exception) 309catch (Exception ex)
System\Xml\XmlBaseWriter.cs (2)
2556Exception completionException = null; 2572catch (Exception exception)
System\Xml\XmlBinaryReader.cs (1)
94catch (Exception e)
System\Xml\XmlDictionaryWriter.cs (10)
300void CompleteAndReleaseStream(bool completedSynchronously, Exception completionException = null) 312void ContinueWork(bool completedSynchronously, Exception completionException = null) 341catch (Exception ex) 398Exception completionException = null; 406catch (Exception ex) 466Exception completionException = null; 480catch (Exception ex) 564void CompleteAndReleaseStream(bool completedSynchronously, Exception completionException) 679Exception completionException = null; 687catch (Exception ex)
System\Xml\XmlExceptionHelper.cs (3)
271static public XmlException CreateConversionException(string value, string type, Exception exception) 276static public XmlException CreateEncodingException(byte[] buffer, int offset, int count, Exception exception) 281static public XmlException CreateEncodingException(string value, Exception exception)
System\Xml\XmlMtomReader.cs (1)
498catch (Exception e)
System\Xml\XmlStreamNodeWriter.cs (2)
205Exception completionException = null; 215catch (Exception ex)
System\Xml\XmlUTF8TextReader.cs (1)
350catch (Exception e)
System\Xml\XmlUTF8TextWriter.cs (6)
811Exception completionException = null; 826catch (Exception exception) 943Exception completionException = null; 981catch (Exception exception) 1207Exception completionException = null; 1215catch (Exception ex)
System.Security (2)
system\security\cryptography\xml\encryptedxml.cs (1)
38public CryptoSignedXmlRecursionException(string message, System.Exception inner) : base(message, inner) { }
system\security\cryptography\xml\utils.cs (1)
477catch (Exception)
System.ServiceModel (1888)
System\ServiceModel\ActionNotSupportedException.cs (1)
17public ActionNotSupportedException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\Activation\Utility.cs (4)
40Exception exception = new Win32Exception(); 53Exception exception = new Win32Exception(); 106Exception exception = new Win32Exception(); 119Exception exception = new Win32Exception();
System\ServiceModel\AddressAccessDeniedException.cs (1)
14public AddressAccessDeniedException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\AddressAlreadyInUseException.cs (1)
14public AddressAlreadyInUseException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\Administration\WbemProvider.cs (11)
146catch (Exception) 246catch (Exception e) 367catch (Exception e) 427catch (Exception e) 488catch (Exception e) 550catch (Exception e) 642catch (Exception e) 1016Exception exception = null; 1031catch (Exception e) 1041public Exception Wait() 1067Exception exception = job.Wait();
System\ServiceModel\ChannelFactory.cs (4)
438Exception exception = null; 444catch (Exception e) 494Exception exception = null; 500catch (Exception e)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (1)
79catch (Exception exception)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (6)
570Exception inner = new QuotaExceededException(message); 1742Exception ex = null; 1747catch (Exception e) 1760catch (Exception e) 1779catch (Exception e) 1800catch (Exception e)
System\ServiceModel\Channels\BufferedConnection.cs (3)
15Exception pendingWriteException; 79catch (Exception e) 278Exception exceptionTothrow = pendingWriteException;
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (7)
435Exception completionException = null; 459catch (Exception exception) 508Exception completionException; 702Exception completionException; 723internal Exception CompletionException 760catch (Exception e) 875catch (Exception exception)
System\ServiceModel\Channels\BufferManagerOutputStream.cs (1)
44protected override Exception CreateQuotaExceededException(int maxSizeQuota)
System\ServiceModel\Channels\ChainedAsyncResult.cs (4)
60Exception completeException = null; 67catch (Exception exception) 103Exception completeException = null; 110catch (Exception exception)
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\ChannelManagerBase.cs (1)
53internal Exception CreateChannelTypeNotSupportedException(Type type)
System\ServiceModel\Channels\ChannelPool.cs (1)
76catch (Exception e)
System\ServiceModel\Channels\ChannelReliableSession.cs (10)
246public void OnLocalFault(Exception e, WsrmFault fault, RequestContext context) 253public void OnLocalFault(Exception e, Message faultMessage, RequestContext context) 285public void OnRemoteFault(Exception e) 352Exception e; 377public void OnUnknownException(Exception e) 398Exception e; 524Exception e = fault.CreateException(); 606Exception e = fault.CreateException(); 1081Exception exception = null; 1087catch (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\ClientReliableChannelBinder.cs (1)
279catch (Exception e)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (2)
477catch (Exception e) 518catch (Exception e)
System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (5)
14Exception exception; 40catch (Exception e) 61Exception closeException = null; 67catch (Exception e) 105void Decrement(bool completedSynchronously, Exception exception)
System\ServiceModel\Channels\CommunicationObject.cs (25)
347Exception CreateNotOpenException() 352Exception CreateImmutableException() 357Exception CreateBaseClassMethodNotCalledException(string method) 362internal Exception CreateClosedException() 379internal Exception CreateFaultedException() 390internal Exception CreateAbortedException() 488internal void Fault(Exception exception) 506internal void AddPendingException(Exception exception) 517internal Exception GetPendingException() 536internal Exception GetTerminalException() 538Exception exception = this.GetPendingException(); 638catch (Exception exception) 670catch (Exception exception) 701catch (Exception exception) 732catch (Exception exception) 758catch (Exception exception) 1008Exception exception = queue.GetException(); 1041Queue<Exception> exceptions = new Queue<Exception>(); 1054public void AddException(Exception exception) 1067public Exception GetException() 1094base.OnCompleting = new Action<AsyncResult, Exception>(OnOpenCompleted); 1127void OnOpenCompleted(AsyncResult result, Exception exception) 1169base.OnCompleting = new Action<AsyncResult, Exception>(OnCloseCompleted); 1201void OnCloseCompleted(AsyncResult result, Exception exception)
System\ServiceModel\Channels\ConnectAlgorithms.cs (2)
148catch (Exception e) 186catch (Exception e)
System\ServiceModel\Channels\Connection.cs (3)
468Exception completionException = null; 474catch (Exception e) 626Exception ConvertIOException(IOException ioException)
System\ServiceModel\Channels\ConnectionAcceptor.cs (5)
17delegate void ErrorCallback(Exception exception); 90Exception unexpectedException = null; 99catch (Exception exception) 166Exception unexpectedException = null; 204catch (Exception exception)
System\ServiceModel\Channels\ConnectionDemuxer.cs (6)
276Exception inner = new InvalidDataException(SR.GetString( 278Exception exception = new ProtocolException(inner.Message, inner); 287catch (Exception e) 401catch (Exception ex) 533catch (Exception ex) 564void AbortConnection(Exception exception)
System\ServiceModel\Channels\ConnectionModeReader.cs (6)
15Exception readException; 50void Complete(Exception e) 129Exception completionException = null; 138catch (Exception e) 199Exception completionException = null; 205catch (Exception e)
System\ServiceModel\Channels\ConnectionOrientedTransportChannelFactory.cs (6)
341Exception exception = null; 347catch (Exception e) 443Exception completionException = null; 448catch (Exception e) 471Exception exception = null; 477catch (Exception e)
System\ServiceModel\Channels\ConnectionOrientedTransportManager.cs (1)
130internal void OnDemuxerError(Exception exception)
System\ServiceModel\Channels\ConnectionPool.cs (5)
531catch (Exception e) 1210Exception completionException = null; 1217catch (Exception e) 1244Exception completionException = null; 1296catch (Exception e)
System\ServiceModel\Channels\ContextChannelRequestContext.cs (4)
178Exception completionException = null; 184catch (Exception e) 210Exception completionException = null; 215catch (Exception e)
System\ServiceModel\Channels\ContextOutputChannelBase.cs (4)
170Exception completionException = null; 176catch (Exception e) 202Exception completionException = null; 207catch (Exception e)
System\ServiceModel\Channels\ContextRequestChannelBase.cs (4)
176Exception completionException = null; 182catch (Exception e) 208Exception completionException = null; 213catch (Exception e)
System\ServiceModel\Channels\DatagramAdapter.cs (24)
90protected abstract void Enqueue(Exception exception, Action callback); 133Exception exception = null; 147catch (Exception e) 171Exception exception = null; 184catch (Exception e) 225catch (Exception e) 406catch (Exception e) 447Exception exception = null; 460catch (Exception e) 499Exception exception = null; 512catch (Exception e) 547catch (Exception e) 783protected override void Enqueue(Exception exception, Action callback) 872protected override void Enqueue(Exception exception, Action callback) 1260catch (Exception exception) 1282catch (Exception exception) 1305catch (Exception exception) 1322Exception exception = null; 1328catch (Exception e) 1494catch (Exception exception) 1516catch (Exception exception) 1539catch (Exception exception) 1556Exception exception = null; 1562catch (Exception e)
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\FramingChannels.cs (26)
638Exception completionException = null; 645catch (Exception e) 666Exception completionException = null; 673catch (Exception e) 700Exception completionException = null; 706catch (Exception e) 733Exception completionException = null; 739catch (Exception e) 766Exception completionException = null; 772catch (Exception e) 792Exception completionException = null; 800catch (Exception e) 824Exception completionException = null; 830catch (Exception e) 910Exception completionException = null; 917catch (Exception e) 1170Exception completionException = null; 1176catch (Exception e) 1329Exception completionException = null; 1339catch (Exception e) 1364Exception completionException = null; 1370catch (Exception e) 1386Exception completionException = null; 1396catch (Exception e) 1419Exception completionException = null; 1427catch (Exception e)
System\ServiceModel\Channels\FramingDecoders.cs (19)
131Exception quotaExceeded = OnSizeQuotaExceeded(encodedSize); 189protected abstract Exception OnSizeQuotaExceeded(int size); 214protected override Exception OnSizeQuotaExceeded(int size) 216Exception result = new InvalidDataException(SR.GetString(SR.FramingViaTooLong, size)); 255protected override Exception OnSizeQuotaExceeded(int size) 260public static Exception GetFaultException(string faultString, string via, string contentType) 284Exception inner = new QuotaExceededException(SR.GetString(SR.FramingMaxMessageSizeExceeded)); 297Exception inner = new QuotaExceededException(SR.GetString(SR.FramingContentTypeTooLongFault, contentType)); 302Exception inner = new QuotaExceededException(SR.GetString(SR.FramingViaTooLongFault, via)); 327protected override Exception OnSizeQuotaExceeded(int size) 329Exception result = new InvalidDataException(SR.GetString(SR.FramingContentTypeTooLong, size)); 394Exception exception = CreateException(new InvalidDataException(SR.GetString( 414Exception inner = CreateInvalidRecordTypeException(FramingRecordType.PreambleAck, foundType); 428Exception CreateInvalidRecordTypeException(FramingRecordType expectedType, FramingRecordType foundType) 437Exception exception = CreateException(new InvalidDataException(SR.GetString( 443public Exception CreatePrematureEOFException() 448protected Exception CreateException(InvalidDataException innerException, string framingFault) 450Exception result = CreateException(innerException); 455protected Exception CreateException(InvalidDataException innerException)
System\ServiceModel\Channels\FramingFormat.cs (2)
153public static bool TryGetFaultString(Exception exception, out string framingFault) 168public static void AddFaultString(Exception exception, string framingFault)
System\ServiceModel\Channels\HttpChannelFactory.cs (15)
367internal Exception CreateToMustEqualViaException(Uri to, Uri via) 1343Exception exception = null; 1493Exception completionException = null; 1500catch (Exception e) 1788Exception exception = null; 1808Exception completionException = null; 1814catch (Exception e) 1834Exception completionException = null; 1841catch (Exception e) 1874Exception completionException = null; 1886catch (Exception e) 2065Exception completionException = null; 2072catch (Exception e) 2093Exception completionException = null; 2100catch (Exception e)
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\HttpChannelListener.cs (15)
514catch (Exception exception) 574catch (Exception exception) 615protected void WriteAuditEvent(AuditLevel auditLevel, string primaryIdentity, Exception exception) 631catch (Exception auditException) 673Exception exception = DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(message)); 697Exception exception = DiagnosticUtility.ExceptionUtility.ThrowHelperError( 1139static void HandleProcessInboundException(Exception ex, HttpRequestContext context) 1170catch (Exception closeException) 1182static bool ContextReceiveExceptionHandled(Exception e) 1260Exception completionException = null; 1266catch (Exception ex) 1314catch (Exception ex) 1320catch (Exception ex) 1370catch (Exception ex) 1376catch (Exception ex)
System\ServiceModel\Channels\HttpPipeline.cs (12)
145protected abstract Message EndParseIncomingMesssage(IAsyncResult result, out Exception requestException); 147protected abstract void OnParseComplete(Message message, Exception requestException); 262protected override Message EndParseIncomingMesssage(IAsyncResult result, out Exception requestException) 269protected override void OnParseComplete(Message message, Exception requestException) 535catch (Exception ex) 561protected override Message EndParseIncomingMesssage(IAsyncResult result, out Exception requestException) 566protected override void OnParseComplete(Message message, Exception requestException) 643catch (Exception ex) 665catch (Exception ex) 690catch (Exception ex) 828catch (Exception ex) 907Exception requestException;
System\ServiceModel\Channels\HttpRequestContext.cs (13)
103catch (Exception e) 175internal void SetMessage(Message message, Exception requestException) 226catch (Exception ex) 372catch (Exception e) 438catch (Exception ex) 454catch (Exception ex) 498catch (Exception ex) 618Exception completionException = null; 624catch (Exception e) 640Exception pendingException = null; 646catch (Exception e) 1103Exception pendingException = null; 1108catch (Exception ex)
System\ServiceModel\Channels\HttpsChannelFactory.cs (5)
270catch (Exception ex) 485Exception completionException = null; 492catch (Exception e) 510Exception completionException = null; 518catch (Exception e)
System\ServiceModel\Channels\HttpsChannelListener.cs (4)
212catch (Exception exception) 273catch (Exception exception) 338Exception exception = DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(message)); 386Exception exception = DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(message));
System\ServiceModel\Channels\HttpTransportManager.cs (1)
85protected void Fault(Exception exception)
System\ServiceModel\Channels\IdlingCommunicationPool.cs (3)
109Exception pendingException; 222catch (Exception e) 318Exception exceptionToThrow = this.pendingException;
System\ServiceModel\Channels\InitialServerConnectionReader.cs (3)
163internal void Abort(Exception e) 402Exception completionException = null; 408catch (Exception e)
System\ServiceModel\Channels\InputChannel.cs (3)
221Exception completionException = null; 227catch (Exception e) 241static Exception CreateReceiveTimedOutException(IInputChannel channel, TimeSpan timeout)
System\ServiceModel\Channels\InputQueueChannel.cs (2)
52public void EnqueueAndDispatch(Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread) 66public bool EnqueueWithoutDispatch(Exception exception, Action dequeuedCallback)
System\ServiceModel\Channels\InputQueueChannelAcceptor.cs (2)
63public virtual bool EnqueueWithoutDispatch(Exception exception, Action dequeuedCallback) 73public virtual void EnqueueAndDispatch(Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (2)
343Exception completionException = null; 349catch (Exception e)
System\ServiceModel\Channels\InvalidChannelBindingException.cs (1)
15public InvalidChannelBindingException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\Channels\IReliableChannelBinder.cs (3)
7delegate void BinderExceptionHandler(IReliableChannelBinder sender, Exception exception); 48void HandleException(Exception e); 49bool IsHandleable(Exception e);
System\ServiceModel\Channels\LayeredChannelListener.cs (4)
218Exception exception = null; 225catch (Exception e) 273Exception exception = null; 280catch (Exception e)
System\ServiceModel\Channels\MaxMessageSizeStream.cs (4)
67internal static Exception CreateMaxReceivedMessageSizeExceededException(long maxMessageSize) 70Exception inner = new QuotaExceededException(message); 80internal static Exception CreateMaxSentMessageSizeExceededException(long maxMessageSize) 83Exception inner = new QuotaExceededException(message);
System\ServiceModel\Channels\Message.cs (16)
264internal Exception CreateMessageDisposedException() 1098Exception ex = null; 1103catch (Exception e) 1115catch (Exception e) 1315Exception versionMismatchException = new ArgumentException(SR.GetString(SR.EncoderEnvelopeVersionMismatch, envelopeVersion, desiredVersion.Envelope), "reader"); 1385Exception ex = null; 1390catch (Exception e) 1401catch (Exception e) 1416catch (Exception e) 1518Exception versionMismatchException = new ArgumentException(SR.GetString(SR.EncoderEnvelopeVersionMismatch, envelopeVersion, desiredVersion.Envelope), "reader"); 1673Exception ex = null; 1678catch (Exception e) 1689catch (Exception e) 1704catch (Exception e) 1721catch (Exception e) 1901Exception inner = new QuotaExceededException(message);
System\ServiceModel\Channels\MessageBuffer.cs (1)
47internal Exception CreateBufferDisposedException()
System\ServiceModel\Channels\MessageHeaders.cs (1)
556Exception CreateDuplicateHeaderException(HeaderKind kind)
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (5)
40internal Exception NormalizePoisonException(long lookupId, Exception innerException) 226catch (Exception exception) 245void WriteAuditEvent(AuditLevel auditLevel, X509Certificate2 certificate, WindowsSidIdentity wsid, Exception exception) 271catch (Exception auditException)
System\ServiceModel\Channels\MsmqDecodeHelper.cs (2)
152catch (Exception ex) 252catch (Exception ex)
System\ServiceModel\Channels\MsmqDiagnostics.cs (3)
17public static void CannotPeekOnQueue(string formatName, Exception ex) 31public static void CannotReadQueues(string host, bool publicQueues, Exception ex) 119public static void ExpectedException(Exception ex)
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (8)
185Exception e = DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MsmqSessionChannelAbort))); 250void RollbackTransaction(Exception exception) 412Exception completionException = null; 417catch (Exception e) 437Exception completionException = null; 442catch (Exception e) 477Exception e = DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MsmqSessionChannelHasPendingItems))); 542Exception e = DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MsmqSessionChannelsMustBeClosed)));
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
289Exception e = DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.MsmqSessionChannelsMustBeClosed)));
System\ServiceModel\Channels\MsmqQueue.cs (3)
236catch (Exception ex) 869Exception completionException = null; 903catch (Exception e)
System\ServiceModel\Channels\MsmqReceiveContext.cs (4)
162Exception completionException = null; 173catch (Exception e) 191Exception completionException = null; 196catch (Exception e)
System\ServiceModel\Channels\MsmqReceiveHelper.cs (6)
352Exception ex = null; 357catch (Exception e) 404Exception ex = null; 409catch (Exception e) 460Exception completionException = null; 465catch (Exception e)
System\ServiceModel\Channels\OneWayChannelFactory.cs (6)
212Exception innerException = null; 221catch (Exception e) 759Exception completionException = null; 767catch (Exception e) 794Exception completionException = null; 800catch (Exception e)
System\ServiceModel\Channels\OneWayChannelListener.cs (18)
426Exception completionException = null; 433catch (Exception e) 458Exception completionException = null; 465catch (Exception e) 727Exception exceptionToEnqueue = null; 774catch (Exception e) 801Exception exceptionToEnqueue = null; 813catch (Exception e) 921Exception exceptionToEnqueue = null; 944catch (Exception e) 991Exception exceptionToEnqueue = null; 1011catch (Exception e) 1258Exception exceptionToEnqueue = null; 1278catch (Exception e) 1352Exception exceptionToEnqueue = null; 1383catch (Exception e) 1408Exception exceptionToEnqueue = null; 1419catch (Exception e)
System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (3)
14Exception exception; 58catch (Exception e) 80void Decrement(bool completedSynchronously, Exception exception)
System\ServiceModel\Channels\PeerChannelListener.cs (1)
154catch (Exception e)
System\ServiceModel\Channels\PeerConnector.cs (3)
143catch (Exception e) 177Exception exception) 234Exception exception)
System\ServiceModel\Channels\PeerDuplexChannel.cs (1)
108catch (Exception e)
System\ServiceModel\Channels\PeerFlooder.cs (12)
82catch (Exception e) 169catch (Exception e) 211catch (Exception e) 414catch (Exception e) 474static internal Exception CloseNeighborIfKnownException(PeerNeighborManager neighborManager, Exception exception, IPeerNeighbor peer) 499catch (Exception e) 642catch (Exception e) 822Exception exception; 884catch (Exception e) 983catch (Exception e) 991Exception temp = PeerFlooder.CloseNeighborIfKnownException(pnm, e, neighbor);
System\ServiceModel\Channels\PeerHelpers.cs (7)
315public delegate void CleanupCallback(IPeerNeighbor neighbor, PeerCloseReason reason, Exception exception); 618Exception exception; 622PeerCloseInitiator closeInitiator, Exception exception) 634public Exception Exception 647static internal void ThrowInvalidOperation_InsufficientCryptoSupport(Exception innerException) 725static internal void ThrowInvalidOperation_PeerCertGenFailure(Exception innerException) 734public static Exception GetLastException()
System\ServiceModel\Channels\PeerInputChannel.cs (1)
64catch (Exception e)
System\ServiceModel\Channels\PeerMaintainer.cs (9)
54public delegate void ConnectCallback(Exception e); 101catch (Exception e) 188Exception exception = null; 210catch (Exception e) 236catch (Exception e) 326catch (Exception e) 410catch (Exception e) 441catch (Exception e) 543catch (Exception e)
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\PeerNodeImplementation.cs (20)
55Exception openException; // exception to be thrown from Open 493Exception exception = null; 528catch (Exception e) 546catch (Exception e) 560catch (Exception e) 575catch (Exception e) 593catch (Exception e) 612catch (Exception e) 626catch (Exception e) 635catch (Exception e) 666catch (Exception e) 855void OnConnectionAttemptCompleted(Exception e) 958catch (Exception e) 1042catch (Exception e) 1066catch (Exception e) 1092catch (Exception e) 1119catch (Exception e) 1266catch (Exception e) 1805Exception floodException = null; 1825catch (Exception e)
System\ServiceModel\Channels\PeerNodeStateManager.cs (11)
199catch (Exception e) 231Exception lclException = null; 268catch (Exception e) 281catch (Exception e) 311Exception lclException = null; 348catch (Exception e) 365catch (Exception e) 409base.Complete(false, (Exception)o); 411catch (Exception e) 425protected void Complete(Exception exception) 454catch (Exception e)
System\ServiceModel\Channels\PeerOutputChannel.cs (1)
66catch (Exception e)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (2)
779catch (Exception e) 846catch (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\PipeException.cs (1)
27public PipeException(string message, Exception inner)
System\ServiceModel\Channels\PnrpPeerResolver.cs (6)
254catch (Exception e) 682Exception exception = new InvalidOperationException(SR.GetString(SR.PnrpNoClouds)); 691Exception lastException = null; 1660catch (Exception e) 1989Exception lastException; 2115catch (Exception e)
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\RedirectionException.cs (2)
28public RedirectionException(RedirectionType type, RedirectionDuration duration, RedirectionScope scope, Exception innerException, params RedirectionLocation[] locations) 38public RedirectionException(string message, RedirectionType type, RedirectionDuration duration, RedirectionScope scope, Exception innerException, params RedirectionLocation[] locations)
System\ServiceModel\Channels\ReliableChannelBinder.cs (64)
240catch (Exception e) 393catch (Exception e) 433catch (Exception e) 482catch (Exception e) 536protected void Fault(Exception e) 566Exception GetClosedException(MaskingMode maskingMode) 584Exception GetClosedOrFaultedException(MaskingMode maskingMode) 602Exception GetFaultedException(MaskingMode maskingMode) 617public void HandleException(Exception e) 622protected bool HandleException(Exception e, MaskingMode maskingMode) 644protected bool HandleException(Exception e, MaskingMode maskingMode, bool autoAborted) 657public bool IsHandleable(Exception e) 702catch (Exception e) 757Exception e = null; 817catch (Exception e) 841void RaiseOnException(Exception e) 899catch (Exception e) 943Exception e = this.GetClosedOrFaultedException(maskingMode); 1038catch (Exception e) 1988Exception e; 2360Exception completeException = null; 2368catch (Exception e) 2419Exception completeException = null; 2428catch (Exception e) 2473Exception completeException = null; 2480catch (Exception e) 2574Exception exception; 2773catch (Exception e) 2835Exception HandleAsyncException(Exception e) 2855Exception completeException; 2863catch (Exception e) 2892Exception completeException; 2900catch (Exception e) 3034Exception completeException = null; 3041catch (Exception e) 3084Exception completeException = null; 3091catch (Exception e) 3155catch (Exception e) 3188Exception completeException = null; 3195catch (Exception e) 3279Exception completionException = null; 3286catch (Exception exception) 3386Exception completeException = null; 3395catch (Exception e) 3430Exception completeException = null; 3437catch (Exception e) 3492catch (Exception e) 3553catch (Exception e) 3578catch (Exception e) 3608catch (Exception e) 3633catch (Exception e) 3772catch (Exception e) 3835catch (Exception e) 4005catch (Exception e) 4052Exception completeException = null; 4058catch (Exception e) 4078Exception completeException = null; 4088catch (Exception e) 4109Exception completeException = null; 4115catch (Exception e) 4140catch (Exception e) 4236Exception completeException = null; 4242catch (Exception e)
System\ServiceModel\Channels\ReliableChannelListener.cs (32)
390Exception completeException = null; 397catch (Exception e) 422Exception completeException = null; 429catch (Exception e) 508Exception completeException = null; 515catch (Exception e) 635catch (Exception e) 649protected bool HandleException(Exception e, ICommunicationObject o) 670bool IsExpectedException(Exception e) 691Exception expectedException = null; 692Exception unexpectedException = null; 699catch (Exception e) 748catch (Exception e) 780catch (Exception e) 857Exception expectedException = null; 858Exception unexpectedException = null; 878catch (Exception e) 920catch (Exception e) 964catch (Exception e) 980catch (Exception e) 1032catch (Exception e) 1076catch (Exception e) 1147catch (Exception e) 1163catch (Exception e) 1205catch (Exception e) 1265catch (Exception e) 1396catch (Exception e) 1412catch (Exception e) 1486catch (Exception e) 1522catch (Exception e) 1538catch (Exception e) 1559catch (Exception e)
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (17)
26Exception maxRetryCountException = null; 346Exception remoteFaultException = null; 917void OnBinderException(IReliableChannelBinder sender, Exception exception) 934void OnBinderFaulted(IReliableChannelBinder sender, Exception exception) 1028void OnComponentFaulted(Exception faultException, WsrmFault fault) 1033void OnComponentException(Exception exception) 1086Exception handledException; 1142catch (Exception e) 1185catch (Exception e) 1206catch (Exception e) 1231Exception e = new CommunicationException(SR.GetString(SR.EarlySecurityClose)); 1508catch (Exception e) 1595catch (Exception e) 1670catch (Exception e) 1695catch (Exception e) 1787catch (Exception e) 1881catch (Exception e)
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (12)
131catch (Exception e) 154catch (Exception e) 307void OnBinderException(IReliableChannelBinder sender, Exception exception) 315void OnBinderFaulted(IReliableChannelBinder sender, Exception exception) 438catch (Exception e) 486Exception e = new CommunicationException(SR.GetString(SR.EarlySecurityClose)); 560catch (Exception e) 619Exception remoteFaultException = null; 915catch (Exception e) 945Exception e = new CommunicationException(SR.GetString(SR.EarlySecurityClose)); 969catch (Exception e) 1035Exception remoteFaultException = null;
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (48)
83Exception exception = null; 89catch (Exception e) 112catch (Exception e) 485Exception e = null; 538Exception GetException() 852catch (Exception e) 886catch (Exception e) 978catch (Exception e) 1007catch (Exception e) 1166Exception completeException = null; 1173catch (Exception e) 1193Exception completeException = null; 1200catch (Exception e) 1234Exception completeException = null; 1245catch (Exception e) 1263bool CloseBinder(Exception e) 1279void CloseBinderAndComplete(Exception e) 1287catch (Exception ex) 1324Exception completeException = (Exception)result.AsyncState; 1330catch (Exception e) 1350Exception completeException = null; 1357catch (Exception e) 1379Exception completeException = null; 1386catch (Exception e) 1542bool HandleException(Exception exception, bool lastIteration) 1608catch (Exception e) 1744catch (Exception e) 1800Exception completeException; 1807catch (Exception e) 1837Exception completeException; 1844catch (Exception e) 2063Exception completeException; 2071catch (Exception e) 2094Exception completeException; 2102catch (Exception e) 2253Exception handledException; 2270protected Exception HandledException 2312catch (Exception e) 2365Exception completeException = null; 2371catch (Exception e) 2392bool HandleException(Exception e) 2415Exception handledException; 2419public static void End(IAsyncResult result, out Exception handledException) 2458Exception handledException; 2462public static Message End(IAsyncResult result, out Exception handledException) 3211public static Exception CreateCSFaultException(MessageVersion version, 3268Exception exception;
System\ServiceModel\Channels\ReliableOutputConnection.cs (14)
13delegate void ComponentFaultedHandler(Exception faultException, WsrmFault fault); 14delegate void ComponentExceptionHandler(Exception exception); 389catch (Exception e) 446catch (Exception e) 467catch (Exception e) 544void RaiseFault(Exception faultException, WsrmFault fault) 552void RaiseOnException(Exception exception) 597catch (Exception e) 663catch (Exception e) 684Exception completeException = null; 691catch (Exception e) 729catch (Exception e) 795Exception completeException = null; 802catch (Exception e)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (14)
17Exception maxRetryCountException = null; 58protected Exception MaxRetryCountException 260void OnBinderException(IReliableChannelBinder sender, Exception exception) 277void OnBinderFaulted(IReliableChannelBinder sender, Exception exception) 395void OnComponentFaulted(Exception faultException, WsrmFault fault) 400void OnComponentException(Exception exception) 799catch (Exception e) 848Exception handledException; 934catch (Exception e) 980Exception handledException; 1022catch (Exception e) 1045catch (Exception e) 1073Exception e = new CommunicationException(SR.GetString(SR.EarlySecurityClose)); 1114catch (Exception e)
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (11)
79catch (Exception e) 187catch (Exception e) 391Exception e = new CommunicationException(SR.GetString(SR.EarlySecurityClose)); 471void OnBinderException(IReliableChannelBinder sender, Exception exception) 479void OnBinderFaulted(IReliableChannelBinder sender, Exception exception) 553catch (Exception e) 721Exception remoteFaultException = null; 882catch (Exception e) 1503Exception e = new ProtocolException(SR.GetString(SR.ReliableRequestContextAborted)); 1689Exception ex = null; 1699catch (Exception e)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (10)
18Exception maxRetryCountException = null; 185Exception GetInvalidAddException() 282void OnBinderException(IReliableChannelBinder sender, Exception exception) 299void OnBinderFaulted(IReliableChannelBinder sender, Exception exception) 380Exception handledException; 428catch (Exception e) 465void OnComponentFaulted(Exception faultException, WsrmFault fault) 470void OnComponentException(Exception exception) 1087Exception completeException = null; 1095catch (Exception e)
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
249Exception innerException = null;
System\ServiceModel\Channels\ReplyChannel.cs (3)
127Exception completionException = null; 133catch (Exception e) 147static Exception CreateReceiveRequestTimedOutException(IReplyChannel channel, TimeSpan timeout)
System\ServiceModel\Channels\RequestChannel.cs (2)
409Exception completionException = null; 419catch (Exception e)
System\ServiceModel\Channels\RequestContextBase.cs (2)
19Exception requestMessageException; 62protected void SetRequestMessage(Exception requestMessageException)
System\ServiceModel\Channels\RetryException.cs (1)
23public RetryException(string message, Exception innerException)
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
2083catch (Exception e) 2174catch (Exception e)
System\ServiceModel\Channels\SecurityChannelFactory.cs (7)
344protected bool TryGetSecurityFaultException(Message faultMessage, out Exception faultException) 472Exception completionException = null; 480catch (Exception e) 521Exception completionException = null; 527catch (Exception e) 654Exception faultException = null; 785Exception faultException = null;
System\ServiceModel\Channels\SecurityChannelFaultConverter.cs (2)
20protected override bool OnTryCreateException(Message message, MessageFault fault, out Exception exception) 40protected override bool OnTryCreateFaultMessage(Exception exception, out Message message)
System\ServiceModel\Channels\SecurityChannelListener.cs (26)
566Exception completionException = null; 572catch (Exception e) 629Exception completionException = null; 635catch (Exception e) 873Exception completionException = null; 879catch (Exception e) 1098void SendFaultIfRequired(Exception e, Message unverifiedMessage, TimeSpan timeout) 1120catch (Exception ex) 1152Exception securityException = null; 1279void SendFaultIfRequired(Exception e, RequestContext innerContext, TimeSpan timeout) 1302catch (Exception ex) 1342Exception securityException = null; 1508Exception completeException = null; 1514catch (Exception ex) 1580catch (Exception e) 1600Exception completionException = null; 1615catch (Exception e) 1633Exception securityException = null; 1676bool OnSecurityException(Exception e) 1690bool SendFault(Message faultMessage, Exception e) 1705catch (Exception ex) 1738Exception e = (Exception)result.AsyncState; 1745catch (Exception ex) 1764Exception completionException = null; 1769catch (Exception e2)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (8)
312bool IsListenerExceptionNullOrHandleable(Exception e) 337Exception expectedException = null; 338Exception unexpectedException = null; 345catch (Exception e) 484Exception expectedException = null; 485Exception unexpectedException = null; 506catch (Exception e) 643catch (Exception e)
System\ServiceModel\Channels\ServiceChannel.cs (19)
637Exception error = new InvalidOperationException(text); 645Exception error = new InvalidOperationException(text); 655Exception error = new InvalidOperationException(text); 998Exception error = new ProtocolException(SR.GetString(SR.SFxReplyActionMismatch3, 1079Exception exception; 1168Exception error = new CommunicationObjectAbortedException(text); 1188Exception error = new InvalidOperationException(text); 1207Exception error = new InvalidOperationException(text); 1944Exception exception = null; 1950catch (Exception e) 1973Exception exception = null; 1979catch (Exception e) 2008Exception exception = null; 2015catch (Exception e) 2039Exception exception = null; 2054catch (Exception e) 2092Exception exception = null; 2111catch (Exception e) 2128void CallComplete(bool completedSynchronously, Exception exception)
System\ServiceModel\Channels\ServiceChannelProxy.cs (3)
80IMethodReturnMessage CreateReturnMessage(Exception e, IMethodCallMessage mcm) 197catch (Exception e) 567public Exception Exception
System\ServiceModel\Channels\SessionConnectionReader.cs (20)
113catch (Exception e) 209catch (Exception e) 264catch (Exception e) 465catch (Exception exception) 573Exception securityFailedException = new ProtocolException( 603void WriteAuditFailure(StreamSecurityUpgradeAcceptor securityUpgradeAcceptor, Exception exception) 610catch (Exception auditException) 621void WriteAuditEvent(StreamSecurityUpgradeAcceptor securityUpgradeAcceptor, AuditLevel auditLevel, Exception exception) 824catch (Exception exception) 854Exception completionException = null; 860catch (Exception e) 882Exception completionException = null; 892catch (Exception e) 922Exception completionException = null; 932catch (Exception e) 957Exception completionException = null; 962catch (Exception e) 1115Exception pendingException; 1345Exception exception = pendingException; 1469catch (Exception e)
System\ServiceModel\Channels\SharedConnectionListener.cs (16)
280catch (Exception exception) 482catch (Exception exception) 509catch (Exception exception) 786catch (Exception exception) 818Exception completionException = null; 824catch (Exception exception) 905static void OnEnterThrottle(object state, Exception completionException) 918catch (Exception ex) 944Exception completionException = null; 951catch (Exception ex) 979static bool ShouldHandleException(Exception exception) 994void Complete(bool completedSynchronously, bool isValidUriRoute, Exception completionException) 1107Exception WrapEndpointReadingException(Win32Exception exception) 1284catch (Exception exception) 1322catch (Exception e) 1388catch (Exception exception)
System\ServiceModel\Channels\SharedHttpTransportManager.cs (10)
23Exception listenStartedException; 131Exception unexpectedException = null; 156catch (Exception e) 213Exception unexpectedException = null; 228catch (Exception exception) 353Exception unexpectedException = null; 368catch (Exception exception) 478catch (Exception e) 658catch (Exception e) 687catch (Exception e)
System\ServiceModel\Channels\SingletonChannelAcceptor.cs (4)
116public void Enqueue(Exception exception, Action dequeuedCallback) 121public void Enqueue(Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread) 156public override bool EnqueueWithoutDispatch(Exception exception, Action dequeuedCallback) 191public override void EnqueueAndDispatch(Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread)
System\ServiceModel\Channels\SingletonConnectionReader.cs (23)
179catch (Exception e) 235catch (Exception e) 523catch (Exception exception) 538catch (Exception exception) 684Exception completionException = null; 692catch (Exception ex) 718Exception completionException = null; 736catch (Exception ex) 767Exception completionException = null; 775catch (Exception ex) 820Exception securityFailedException = new ProtocolException( 830void WriteAuditFailure(StreamSecurityUpgradeAcceptor securityUpgradeAcceptor, Exception exception) 837catch (Exception auditException) 848void WriteAuditEvent(StreamSecurityUpgradeAcceptor securityUpgradeAcceptor, AuditLevel auditLevel, Exception exception) 920catch (Exception e) 1293Exception completionException = null; 1299catch (Exception exception) 1887Exception completionException = null; 1896catch (Exception e) 1923Exception completionException = null; 1932catch (Exception e) 1958Exception completionException = null; 1967catch (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\Channels\SslStreamSecurityUpgradeProvider.cs (18)
439Exception completionException = null; 446catch (Exception e) 470Exception completionException = null; 477catch (Exception e) 501Exception completionException = null; 508catch (Exception e) 532Exception completionException = null; 539catch (Exception e) 1142Exception completionException = null; 1149catch (Exception e) 1173Exception completionException = null; 1180catch (Exception e) 1204Exception completionException = null; 1211catch (Exception e) 1294Exception completionException = null; 1301catch (Exception e) 1325Exception completionException = null; 1331catch (Exception e)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (16)
345Exception completionException = null; 352catch (Exception e) 373Exception completionException = null; 381catch (Exception e) 402Exception completionException = null; 409catch (Exception e) 435Exception completionException = null; 442catch (Exception e) 468Exception completionException = null; 474catch (Exception e) 758Exception completionException = null; 767catch (Exception e) 800Exception completionException = null; 809catch (Exception e) 837Exception completionException = null; 846catch (Exception e)
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorAsyncResult.cs (2)
88Exception completionException = null; 94catch (Exception e)
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorAsyncResult.cs (2)
91Exception completionException = null; 97catch (Exception e)
System\ServiceModel\Channels\SynchronizedMessageSource.cs (8)
149protected void CompleteWithUnlock(bool synchronous, Exception exception) 161static void OnEnterComplete(object state, Exception asyncException) 165Exception completionException = asyncException; 180catch (Exception e) 223Exception completionException = null; 229catch (Exception e) 267Exception completionException = null; 274catch (Exception e)
System\ServiceModel\Channels\TransactionChannelFaultConverter.cs (2)
21protected override bool OnTryCreateException(Message message, MessageFault fault, out Exception exception) 51protected override bool OnTryCreateFaultMessage(Exception exception, out Message message)
System\ServiceModel\Channels\TransmissionStrategy.cs (2)
379catch (Exception e) 1103Exception exception;
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (18)
737Exception completionException = null; 743catch (Exception e) 769Exception completionException = null; 775catch (Exception e) 795Exception completionException = null; 800catch (Exception e) 925static void OnEnterComplete(object state, Exception asyncException) 929Exception completionException = asyncException; 941catch (Exception e) 963Exception completionException = null; 969catch (Exception e) 1093static void OnEnterComplete(object state, Exception asyncException) 1097Exception completionException = asyncException; 1109catch (Exception e) 1131Exception completionException = null; 1137catch (Exception e) 1279Exception completionException = null; 1294catch (Exception e)
System\ServiceModel\Channels\TransportManager.cs (3)
88protected void Fault<TChannelListener>(UriPrefixTable<TChannelListener> addressTable, Exception exception) 343Exception completionException = null; 349catch (Exception e)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (4)
604Exception completionException = null; 610catch (Exception e) 698Exception completionException = null; 704catch (Exception e)
System\ServiceModel\Channels\UtilityExtension.cs (4)
285catch (Exception e) 327catch (Exception e) 351Exception HandleSendException(IPeerNeighbor host, Exception e, UtilityInfo umessage)
System\ServiceModel\Channels\WebSocketHelper.cs (11)
224internal static void ThrowCorrectException(Exception ex) 231internal static void ThrowCorrectException(Exception ex, TimeSpan timeout, string operation) 236internal static Exception ConvertAndTraceException(Exception ex) 246internal static Exception ConvertAndTraceException(Exception ex, TimeSpan timeout, string operation) 259Exception exception = FxTrace.Exception.AsError<OperationCanceledException>(aggregationException); 269Exception communicationException = ConvertAggregateExceptionToCommunicationException(aggregationException); 303internal static Exception ConvertAggregateExceptionToCommunicationException(AggregateException ex) 305Exception exception = FxTrace.Exception.AsError<WebSocketException>(ex); 337internal static TimeoutException GetTimeoutException(Exception innerException, TimeSpan timeout, string operation)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (16)
38Exception pendingWritingMessageException; 235catch (Exception error) 296catch (Exception error) 358catch (Exception ex) 400private static void ThrowOnPendingException(ref Exception pendingException) 402Exception exceptionToThrow = pendingException; 418catch (Exception e) 436catch (Exception e) 476catch (Exception ex) 493Exception pendingException; 724catch (Exception ex) 801internal void FinishUsingMessageStream(Exception ex) 900catch (Exception ex) 1420catch (Exception ex) 1459Exception pendingException = null; 1475catch (Exception ex)
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (10)
611Exception completionException = null; 618catch (Exception e) 642Exception completionException = null; 649catch (Exception e) 673Exception completionException = null; 680catch (Exception e) 755Exception completionException = null; 762catch (Exception e) 786Exception completionException = null; 792catch (Exception e)
System\ServiceModel\Channels\WsrmMessageInfo.cs (8)
24Exception faultException; 28Exception parsingException; 95public Exception FaultException 153public Exception ParsingException 209public static Exception CreateInternalFaultException(Message faultReply, string message, Exception inner) 214static Exception CreateWsrmRequiredException(MessageVersion messageVersion) 687public InternalFaultException(Message faultReply, string message, Exception inner)
System\ServiceModel\ChannelTerminatedException.cs (1)
15public ChannelTerminatedException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\ClientBase.cs (7)
367catch (Exception ex) 969internal InvokeAsyncCompletedEventArgs(object[] results, Exception error, bool cancelled, object userState) 1001Exception error = null; 1012catch (Exception e) 1035Exception error = null; 1041catch (Exception e) 1054static void CompleteAsyncCall(AsyncOperationContext context, object[] results, Exception error)
System\ServiceModel\ComIntegration\ComIntegrationManifestGenerator.cs (2)
60catch (Exception e) 103catch (Exception e)
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (2)
552catch (Exception e) 573catch (Exception e)
System\ServiceModel\ComIntegration\ComPlusInstanceContextInitializer.cs (3)
47catch (Exception e) 160catch (Exception e) 177catch (Exception e)
System\ServiceModel\ComIntegration\ComPlusInstanceProvider.cs (1)
95catch (Exception e)
System\ServiceModel\ComIntegration\ComPlusServiceHost.cs (2)
55catch (Exception e) 76catch (Exception e)
System\ServiceModel\ComIntegration\ComPlusSynchronizationContext.cs (1)
92catch (Exception e)
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (1)
225catch (Exception e)
System\ServiceModel\ComIntegration\DispatchProxy.cs (3)
274catch (Exception e) 335catch (Exception e) 443catch (Exception e)
System\ServiceModel\ComIntegration\DllHostInitializer.cs (1)
173catch (Exception e)
System\ServiceModel\ComIntegration\Error.cs (21)
19public static Exception ActivationAccessDenied() 25public static Exception QFENotPresent() 31public static Exception DirectoryNotFound(string directory) 37public static Exception CannotAccessDirectory(string directory) 43public static Exception ManifestCreationFailed(string file, string error) 49public static Exception ActivationFailure() 55public static Exception UnexpectedThreadingModel() 61public static Exception DllHostInitializerFoundNoServices() 67public static Exception ServiceMonikerSupportLoadFailed(string dllname) 74public static Exception CallAccessDenied() 80public static Exception RequiresWindowsSecurity() 86public static Exception NoAsyncOperationsAllowed() 92public static Exception DuplicateOperation() 98public static Exception InconsistentSessionRequirements() 104public static Exception TransactionMismatch() 114public static Exception ListenerInitFailed(string message) 119public static Exception ListenerInitFailed(string message, 120Exception inner) 126static Exception CreateFault(string code, string reason) 148Exception inner) 161public ComPlusProxyProviderException(string message, Exception inner)
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (2)
351catch (Exception e) 386catch (Exception ex)
System\ServiceModel\ComIntegration\OuterProxyWrapper.cs (2)
82catch (Exception e) 103catch (Exception e)
System\ServiceModel\ComIntegration\ProxyManager.cs (2)
108catch (Exception e) 175catch (Exception e)
System\ServiceModel\ComIntegration\TearOffProxy.cs (1)
40catch (Exception e)
System\ServiceModel\ComIntegration\TypeCacheManager.cs (1)
215catch (Exception e)
System\ServiceModel\ComIntegration\TypedServiceChannelBuilder.cs (2)
208catch (Exception e) 241catch (Exception e)
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
295catch (Exception e)
System\ServiceModel\CommunicationException.cs (1)
15public CommunicationException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\CommunicationObjectAbortedException.cs (1)
15public CommunicationObjectAbortedException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\CommunicationObjectFaultedException.cs (1)
15public CommunicationObjectFaultedException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\Configuration\ApplicationContainerSettingsElement.cs (1)
107catch (Exception ex)
System\ServiceModel\Configuration\ConfigurationHelpers.cs (1)
357(Exception)null);
System\ServiceModel\Configuration\ExtensionsSection.cs (2)
209(Exception)null); 263(Exception)null);
System\ServiceModel\Configuration\SecurityElementBase.cs (1)
372catch (Exception e)
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (1)
207(Exception)null);
System\ServiceModel\Description\ClientClassGenerator.cs (1)
39static Type exceptionType = typeof(Exception);
System\ServiceModel\Description\DispatcherBuilder.cs (2)
309Exception error = new InvalidOperationException(text); 1237Exception error = new InvalidOperationException(text);
System\ServiceModel\Description\MessageContractImporter.cs (1)
1692internal static bool TryGetFailedReferenceType(Exception ex, out Type failedReferenceType)
System\ServiceModel\Description\MetadataExchangeClient.cs (18)
668catch (Exception e) 786catch (Exception e) 830catch (Exception e) 842catch (Exception e) 859catch (Exception e) 921Exception exception = null; 927catch (Exception e) 1002catch (Exception e) 1016catch (Exception e) 1055catch (Exception e) 1105catch (Exception e) 1155Exception exception = null; 1161catch (Exception e) 1211Exception exception = null; 1218catch (Exception e) 1280Exception exception = null; 1287catch (Exception e) 1328catch (Exception ex)
System\ServiceModel\Description\MetadataExporter.cs (3)
62catch (Exception e) 145Exception CreateExtensionException(IPolicyExportExtension exporter, Exception e)
System\ServiceModel\Description\MetadataImporter.cs (3)
101catch (Exception e) 132Exception CreateExtensionException(IPolicyImportExtension importer, Exception e)
System\ServiceModel\Description\MetadataResolver.cs (2)
201Exception exception = null; 207catch (Exception e)
System\ServiceModel\Description\ServiceMetadataBehavior.cs (2)
454Exception metadataGenerationException = null; 527catch (Exception e)
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1422catch (Exception) { }
System\ServiceModel\Description\ServiceReflector.cs (1)
448catch (Exception e)
System\ServiceModel\Description\WsdlExporter.cs (6)
1179catch (Exception e) 1194catch (Exception e) 1202Exception ThrowExtensionException(ContractDescription contract, IWsdlExportExtension exporter, Exception e) 1210Exception ThrowExtensionException(ServiceEndpoint endpoint, IWsdlExportExtension exporter, Exception e)
System\ServiceModel\Description\WsdlImporter.cs (20)
343catch (Exception e) 409catch (Exception e) 424catch (Exception e) 478catch (Exception e) 565catch (Exception e) 621catch (Exception e) 672catch (Exception e) 692catch (Exception e) 709catch (Exception e) 1907static Exception CreateBeforeImportExtensionException(IWsdlImportExtension importer, Exception e) 1913Exception CreateAlreadyFaultedException(WsdlNS.NamedItem item) 1920static Exception CreateExtensionException(IWsdlImportExtension importer, Exception e) 1938WsdlImportException(WsdlNS.NamedItem item, Exception innerException) 1945internal static WsdlImportException Create(WsdlNS.NamedItem item, Exception innerException) 1976Exception messageException = this.InnerException; 2249catch (Exception e) 2268catch (Exception e) 2284catch (Exception e)
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (2)
55catch (Exception e) 99catch (Exception e)
System\ServiceModel\Diagnostics\DefaultPerformanceCounters.cs (1)
89catch (Exception e)
System\ServiceModel\Diagnostics\EndpointPerformanceCounters.cs (1)
30catch (Exception e)
System\ServiceModel\Diagnostics\MessageLogger.cs (7)
284catch (Exception e) 302catch (Exception e) 320catch (Exception e) 338catch (Exception e) 467static void FailedToLogMessage(Exception e) 769catch (Exception e) 782static void LogNonFatalInitializationException(Exception e)
System\ServiceModel\Diagnostics\OperationPerformanceCounters.cs (1)
29catch (Exception e)
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\PerformanceCounters.cs (3)
199catch (Exception e) 218catch (Exception e1) 432catch (Exception e)
System\ServiceModel\Diagnostics\PerformanceCountersFactory.cs (3)
35catch (Exception e) 70catch (Exception e) 105catch (Exception e)
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\ServiceModelActivity.cs (1)
391TraceUtility.TraceEventNoCheck(type, TraceCode.ActivityBoundary, ServiceModelActivity.ActivityBoundaryDescription, null, ServiceModelActivity.ActivityBoundaryDescription, (Exception)null);
System\ServiceModel\Diagnostics\ServicePerformanceCounters.cs (1)
31catch (Exception e)
System\ServiceModel\Diagnostics\SystemDiagnosticsPerformanceCountersExtension.cs (4)
27catch (Exception e) 54catch (Exception e) 81catch (Exception e) 105catch (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\AsyncMethodInvoker.cs (1)
145catch (Exception e)
System\ServiceModel\Dispatcher\AuthenticationBehavior.cs (3)
57catch (Exception ex) 93catch (Exception auditException) 148internal static Exception CreateFailedAuthenticationFaultException()
System\ServiceModel\Dispatcher\AuthorizationBehavior.cs (3)
61catch (Exception ex) 103catch (Exception auditException) 160internal static Exception CreateAccessDeniedFaultException()
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (2)
197catch (Exception exception) 239catch (Exception exception)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (9)
493internal bool HandleError(Exception error) 499internal bool HandleError(Exception error, ref ErrorHandlerFaultInfo faultInfo) 535catch (Exception e) 853internal void ProvideFault(Exception e, FaultConverter faultConverter, ref ErrorHandlerFaultInfo faultInfo) 896Exception error = new InvalidOperationException(SR.GetString(SR.SFxChannelDispatcherNoHost0)); 905Exception error = new InvalidOperationException(SR.GetString(SR.SFxChannelDispatcherNoMessageVersion)); 938Exception error = new InvalidOperationException(SR.GetString(SR.SFxChannelDispatcherMultipleHost0)); 954Exception error = new InvalidOperationException(SR.GetString(SR.SFxChannelDispatcherDifferentHost0)); 1000Exception error = new InvalidOperationException(SR.GetString(SR.SFxCollectionDoesNotSupportSet0));
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;
System\ServiceModel\Dispatcher\ConcurrencyBehavior.cs (1)
214catch (Exception e)
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (6)
81catch (Exception e) 250catch (Exception e) 303catch (Exception e) 348catch (Exception e) 383catch (Exception e) 779catch (Exception e)
System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
834catch (Exception ex)
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (14)
749Exception completionException = null; 756catch (Exception exception) 869Exception sendException; 989Exception sendException = null; 996catch (Exception e) 1222Exception exceptionFromBeginReceive = null; 1227catch (Exception e) 1271Exception receiveException = null; 1276catch (Exception e) 1316Exception backgroundCloseException = null; 1325catch (Exception e) 1360Exception backgroundCloseException = null; 1365catch (Exception e) 1633public void CaptureBackgroundException(Exception exception)
System\ServiceModel\Dispatcher\EndpointDispatcher.cs (2)
268Exception error = new InvalidOperationException(SR.GetString(SR.SFxEndpointDispatcherMultipleChannelDispatcher0)); 285Exception error = new InvalidOperationException(SR.GetString(SR.SFxEndpointDispatcherDifferentChannelDispatcher0));
System\ServiceModel\Dispatcher\ErrorBehavior.cs (13)
31Exception error = rpc.Error; 74void ProvideFaultOfLastResort(Exception error, ref ErrorHandlerFaultInfo faultInfo) 124internal void ProvideFault(Exception e, FaultConverter faultConverter, ref ErrorHandlerFaultInfo faultInfo) 140void ProvideWellKnownFault(Exception e, FaultConverter faultConverter, ref ErrorHandlerFaultInfo faultInfo) 180bool HandleErrorCommon(Exception error, ref ErrorHandlerFaultInfo faultInfo) 209catch (Exception e) 220internal bool HandleError(Exception error) 226internal bool HandleError(Exception error, ref ErrorHandlerFaultInfo faultInfo) 231internal static bool ShouldRethrowExceptionAsIs(Exception e) 236internal static bool ShouldRethrowClientSideExceptionAsIs(Exception e) 243internal static void ThrowAndCatch(Exception e, Message message) 270catch (Exception e2) 279internal static void ThrowAndCatch(Exception e)
System\ServiceModel\Dispatcher\ErrorHandlingAcceptor.cs (9)
37catch (Exception e) 47void HandleError(Exception e) 55void HandleErrorOrAbort(Exception e) 97catch (Exception e) 132catch (Exception e) 183catch (Exception e) 208catch (Exception e) 237catch (Exception e) 267catch (Exception e)
System\ServiceModel\Dispatcher\ErrorhandlingReceiver.cs (9)
29catch (Exception e) 39void HandleError(Exception e) 47void HandleErrorOrAbort(Exception e) 86catch (Exception e) 122catch (Exception e) 169catch (Exception e) 194catch (Exception e) 223catch (Exception e) 253catch (Exception e)
System\ServiceModel\Dispatcher\ExceptionHandler.cs (5)
63public abstract bool HandleException(Exception exception); 69public override bool HandleException(Exception exception) 75internal static bool HandleTransportExceptionHelper(Exception exception) 95catch (Exception thrownException) 139public override bool HandleException(Exception exception)
System\ServiceModel\Dispatcher\FilterInvalidBodyAccessException.cs (2)
35public FilterInvalidBodyAccessException(string message, Exception innerException) 45public FilterInvalidBodyAccessException(string message, Exception innerException, Collection<MessageFilter> filters)
System\ServiceModel\Dispatcher\IErrorHandler.cs (2)
12void ProvideFault(Exception error, MessageVersion version, ref Message fault); 13bool HandleError(Exception error);
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (10)
125catch (Exception e) 170catch (Exception e) 221catch (Exception e) 283catch (Exception e) 331Exception exception = null; 341catch (Exception e) 379Exception exception = null; 392void CallEnd(IAsyncResult result, out Exception exception) 399catch (Exception e) 410void CallComplete(bool completedSynchronously, Exception exception)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (32)
274catch (Exception e) 288void BeforeSendReply(ref MessageRpc rpc, ref Exception exception, ref bool thereIsAnUnhandledException) 296internal void BeforeSendReplyCore(ref MessageRpc rpc, ref Exception exception, ref bool thereIsAnUnhandledException) 336catch (Exception e) 382catch (Exception e) 440catch (Exception e) 494catch (Exception e) 541catch (Exception e) 584catch (Exception e) 613catch (Exception e) 648catch (Exception e) 689catch (Exception e) 767Exception exception = null; 800catch (Exception e) 834catch (Exception e) 953Exception error = new InvalidOperationException(text); 961Exception error = new InvalidOperationException(text); 971Exception error = new InvalidOperationException(text); 1114catch (Exception e) 1226catch (Exception e) 1265catch (Exception e) 1312catch (Exception e) 1346catch (Exception e) 1481catch (Exception e) 1496catch (Exception e) 1543catch (Exception e) 1561catch (Exception e) 1576catch (Exception e) 1593catch (Exception e) 1612catch (Exception e) 1628catch (Exception e) 1686catch (Exception e)
System\ServiceModel\Dispatcher\InstanceBehavior.cs (3)
138catch (Exception e) 151catch (Exception e) 315catch (Exception e)
System\ServiceModel\Dispatcher\InstanceContextManager.cs (4)
281Exception exception; 308catch (Exception e) 336catch (Exception e) 359void Decrement(bool completedSynchronously, Exception exception)
System\ServiceModel\Dispatcher\InvalidBodyAccessException.cs (1)
25protected InvalidBodyAccessException(string message, Exception innerException)
System\ServiceModel\Dispatcher\ListenerHandler.cs (6)
452catch (Exception e) 479catch (Exception e) 503catch (Exception e) 527catch (Exception e) 581catch (Exception e) 694bool HandleError(Exception e)
System\ServiceModel\Dispatcher\MessageFilterException.cs (2)
35public MessageFilterException(string message, Exception innerException) 45public MessageFilterException(string message, Exception innerException, Collection<MessageFilter> filters)
System\ServiceModel\Dispatcher\MessageOperationFormatter.cs (2)
49public bool IsFault(string operation, Exception error) 54public MessageFault SerializeFault(Exception error)
System\ServiceModel\Dispatcher\MessageRpc.cs (15)
45internal Exception Error; 239catch (Exception e) 320catch (Exception e) 344catch (Exception e) 367catch (Exception e) 385catch (Exception e) 404catch (Exception e) 423catch (Exception e) 442bool ProcessError(Exception e) 482catch (Exception e2) 519catch (Exception e) 546catch (Exception e) 637catch (Exception e) 672catch (Exception e) 810Exception error = new InvalidOperationException(text);
System\ServiceModel\Dispatcher\MultipleFilterMatchesException.cs (2)
34public MultipleFilterMatchesException(string message, Exception innerException) 44public MultipleFilterMatchesException(string message, Exception innerException, Collection<MessageFilter> filters)
System\ServiceModel\Dispatcher\MultipleReceiveBinder.cs (3)
156Exception completionException = null; 169catch (Exception ex) 256public new void Complete(bool completedSynchronously, Exception completionException)
System\ServiceModel\Dispatcher\NavigatorInvalidBodyAccessException.cs (1)
31public NavigatorInvalidBodyAccessException(string message, Exception innerException)
System\ServiceModel\Dispatcher\NetDispatcherFaultException.cs (2)
12public NetDispatcherFaultException(string reason, FaultCode code, Exception innerException) 16public NetDispatcherFaultException(FaultReason reason, FaultCode code, Exception innerException)
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
540internal static NetDispatcherFaultException CreateDeserializationFailedFault(string reason, Exception innerException)
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (2)
230catch (Exception e) 285catch (Exception e)
System\ServiceModel\Dispatcher\ReceiveContextRPCFacet.cs (5)
155catch (Exception e) 277Exception completionException = null; 284catch (Exception e) 339catch (Exception exception) 363catch (Exception e)
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (2)
265catch (Exception ex) 291catch (Exception auditException)
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
282catch (Exception ex)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
238catch (Exception e)
System\ServiceModel\Dispatcher\TransactionBehavior.cs (5)
49internal static Exception CreateFault(string reasonText, string codeString, bool isNetDispatcherFault) 456internal void Complete(Exception error) 559internal void ThreadEnter(ref Exception error) 757internal void CompletePendingTransaction(Transaction transaction, Exception error) 769internal static void Complete(Transaction transaction, Exception error)
System\ServiceModel\Dispatcher\XPathNavigatorException.cs (1)
31public XPathNavigatorException(string message, Exception innerException)
System\ServiceModel\EndpointNotFoundException.cs (1)
14public EndpointNotFoundException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\ExceptionDetail.cs (1)
21public ExceptionDetail(Exception exception)
System\ServiceModel\ExceptionMapper.cs (3)
37public virtual FaultException FromException(Exception ex) 49public virtual FaultException FromException(Exception ex, string soapNamespace, string trustNamespace) 60public virtual bool HandleSecurityTokenProcessingException(Exception ex)
System\ServiceModel\FaultException.cs (2)
73internal FaultException(string reason, FaultCode code, string action, Exception innerException) 89internal FaultException(FaultReason reason, FaultCode code, string action, Exception innerException)
System\ServiceModel\InstanceContext.cs (2)
412Exception error = null; 476Exception error = new InvalidOperationException(SR.GetString(SR.SFxInstanceNotInitialized));
System\ServiceModel\InvalidMessageContractException.cs (1)
22public InvalidMessageContractException(String message, Exception innerException)
System\ServiceModel\MessageHeaderException.cs (3)
29public MessageHeaderException(string message, Exception innerException) 41public MessageHeaderException(string message, string headerName, string ns, Exception innerException) 45public MessageHeaderException(string message, string headerName, string ns, bool isDuplicate, Exception innerException)
System\ServiceModel\MsmqException.cs (3)
38public MsmqException(string message, Exception inner) 143internal Exception Normalized 149return Activator.CreateInstance(this.outerExceptionType, new object[] { this.Message, this }) as Exception;
System\ServiceModel\MsmqPoisonMessageException.cs (2)
19public MsmqPoisonMessageException(string message, Exception innerException) : base(message, innerException) { } 21public MsmqPoisonMessageException(long messageLookupId, Exception innerException)
System\ServiceModel\OperationContext.cs (1)
394catch (Exception e)
System\ServiceModel\PeerNode.cs (1)
53catch (Exception e)
System\ServiceModel\PeerResolvers\PeerDefaultCustomResolverClient.cs (3)
209catch (Exception e) 286catch (Exception e) 326catch (Exception e)
System\ServiceModel\PoisonMessageException.cs (1)
14public PoisonMessageException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\ProtocolException.cs (1)
16public ProtocolException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\QuotaExceededException.cs (1)
23public QuotaExceededException(string message, Exception innerException)
System\ServiceModel\Security\ApplySecurityAndSendAsyncResult.cs (2)
104Exception completionException = null; 120catch (Exception e)
System\ServiceModel\Security\ExpiredSecurityTokenException.cs (1)
26public ExpiredSecurityTokenException(String message, Exception innerException)
System\ServiceModel\Security\IdentityVerifier.cs (3)
115Exception e = CreateIdentityCheckException(identity, authorizationContext, errorString, serviceReference); 121Exception CreateIdentityCheckException(EndpointIdentity identity, AuthorizationContext authorizationContext, string errorString, EndpointAddress serviceReference) 123Exception result;
System\ServiceModel\Security\InfocardInteractiveChannelInitializer.cs (6)
75Exception exception = null; 87catch (Exception e) 122Exception exception = null; 129void CallEnd(IAsyncResult result, out Exception exception) 144catch (Exception e) 154void CallComplete(bool completedSynchronously, Exception exception)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (20)
255Exception e = new InvalidOperationException(SR.GetString(SR.CommunicationObjectCannotBeUsed, this.GetType().ToString(), state.ToString())); 553catch (Exception e) 681static bool ShouldWrapException(Exception e) 693static Exception WrapExceptionIfRequired(Exception e, EndpointAddress targetAddress, EndpointAddress issuerAddress) 776catch (Exception e) 817Exception completionException = null; 828catch (Exception e) 875Exception completionException = null; 886catch (Exception e) 926Exception completionException = null; 937catch (Exception e) 1009Exception completionException = null; 1040catch (Exception e) 1090Exception completionException = null; 1098catch (Exception e) 1118Exception OnAsyncNegotiationFailure(Exception e) 1134Exception OnSyncNegotiationFailure(Exception e)
System\ServiceModel\Security\MessageSecurityException.cs (2)
35public MessageSecurityException(String message, Exception innerException) 45internal MessageSecurityException(string message, Exception innerException, MessageFault fault)
System\ServiceModel\Security\MessageSecurityProtocol.cs (14)
91catch (Exception exception) 113catch (Exception exception) 137catch (Exception exception) 158catch (Exception exception) 538catch (Exception exception) 562catch (Exception exception) 612catch (Exception e) 649catch (Exception e) 750Exception completionException = null; 758catch (Exception e) 916Exception completionException = null; 923catch (Exception e) 953Exception completionException = null; 960catch (Exception e)
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (6)
688catch (Exception e) 830catch (Exception exception) 849catch (Exception auditException) 900Message HandleNegotiationException(Message request, Exception e) 910Message CreateFault(Message request, Exception e) 1041catch (Exception e)
System\ServiceModel\Security\ReceiveMessageAndVerifySecurityAsyncResultBase.cs (2)
58Exception completionException = null; 75catch (Exception e)
System\ServiceModel\Security\SecurityAccessDeniedException.cs (1)
23public SecurityAccessDeniedException(String message, Exception innerException)
System\ServiceModel\Security\SecurityAppliedMessage.cs (1)
59Exception CreateBadStateException(string operation)
System\ServiceModel\Security\SecurityNegotiationException.cs (1)
23public SecurityNegotiationException(String message, Exception innerException)
System\ServiceModel\Security\SecurityProtocol.cs (8)
232catch (Exception e) 257catch (Exception e) 282catch (Exception e) 307catch (Exception e) 817protected virtual void OnVerifyIncomingMessageFailure(Message message, Exception exception) 844catch (Exception auditException) 887Exception completionException = null; 894catch (Exception e)
System\ServiceModel\Security\SecurityProtocolFactory.cs (4)
919catch (Exception e) 937catch (Exception e) 955catch (Exception e) 973catch (Exception e)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (44)
697void OnInnerFaulted(IReliableChannelBinder sender, Exception exception) 1045bool ShouldWrapException(Exception e) 1100catch (Exception e) 1124Exception faultException = null; 1725Exception completionException = null; 1747catch (Exception e) 1794Exception completionException = null; 1816catch (Exception e) 1915Exception completionException = null; 1921catch (Exception e) 1972Exception completionException = null; 1979catch (Exception e) 2028Exception completionException = null; 2035catch (Exception e) 2119Exception completionException = null; 2141catch (Exception e) 2193Exception completionException = null; 2212catch (Exception e) 2289Exception completionException = null; 2312catch (Exception e) 2379Exception completionException = null; 2419catch (Exception e) 2452Exception completionException = null; 2458catch (Exception e) 2495Exception completionException = null; 2504catch (Exception e) 2598Exception completionException = null; 2605catch (Exception e) 2674Exception completionException = null; 2680catch (Exception e) 2901Exception faultException = null; 3001Exception completionException = null; 3007catch (Exception e) 3062Exception completionException = null; 3069catch (Exception e) 3104Exception completionException = null; 3111catch (Exception e) 3387catch (Exception e) 3498Exception pendingException = null; 3511catch (Exception e) 3533Exception pendingException = null; 3549catch (Exception e) 3578Exception pendingException = null; 3593catch (Exception e)
System\ServiceModel\Security\SecuritySessionFilter.cs (3)
64internal static bool CanHandleException(Exception e) 94catch (Exception e) 326catch (Exception e)
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (3)
434Message HandleOperationException(SecuritySessionOperation operation, Message request, Exception e) 440Message CreateFault(Message request, Exception e) 1033catch (Exception e)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (10)
561void OnOperationFailure(SecuritySessionOperation operation, EndpointAddress target, SecurityToken currentToken, Exception e, IChannel channel) 623catch (Exception e) 851catch (Exception e) 895Exception completionException = null; 906catch (Exception e) 969Exception completionException = null; 980catch (Exception e) 1034Exception completionException = null; 1041catch (Exception e) 1052void OnOperationFailure(Exception e)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (51)
811catch (Exception e) 1073catch (Exception e) 1359void OnInnerFaulted(IReliableChannelBinder sender, Exception exception) 1688void SendFaultIfRequired(Exception e, Message unverifiedMessage, RequestContext requestContext, TimeSpan timeout) 1734bool ShouldWrapException(Exception e) 1755Exception securityException = null; 1798catch (Exception e) 1982internal void TraceSessionClosedResponseFailure(Exception e) 1992internal void TraceSessionClosedFailure(Exception e) 2267Exception completionException = null; 2273catch (Exception e) 2364Exception completionException = null; 2389catch (Exception e) 2451Exception completionException = null; 2466catch (Exception e) 2589static void OnWait(object state, Exception asyncException) 2593Exception completionException = asyncException; 2605catch (Exception e) 2716catch (Exception e) 2733new void Complete(bool synchronous, Exception exception) 2740catch (Exception e) 2809Exception completionException = null; 2815catch (Exception e) 3217Exception completionException = null; 3245catch (Exception e) 3307Exception completionException = null; 3339catch (Exception e) 3401Exception completionException = null; 3430catch (Exception e) 3470Exception completionException = null; 3476catch (Exception e) 4079Exception completionException = null; 4085catch (Exception e) 4186Exception completionException = null; 4209catch (Exception e) 4270Exception completionException = null; 4302catch (Exception e) 4370Exception completionException = null; 4400catch (Exception e) 4472Exception completionException = null; 4501catch (Exception e) 4542Exception completionException = null; 4548catch (Exception e) 4584Exception pendingException = null; 4590catch (Exception e) 4621Exception pendingException = null; 4627catch (Exception e) 4652Exception pendingException = null; 4658catch (Exception e) 4819Exception completionException = null; 4825catch (Exception e)
System\ServiceModel\Security\SecurityTokenAuthenticatorAdapter.cs (1)
56catch (Exception ex)
System\ServiceModel\Security\SecurityUtils.cs (15)
851catch (Exception e) 874Exception innerException = null; 1088catch (Exception e) 1189catch (Exception e) 1259Exception faultException = new FaultException(fault, message.Headers.Action); 1292internal static Exception CreateSecurityFaultException(Message unverifiedMessage) 1298internal static Exception CreateSecurityFaultException(MessageFault fault) 1321internal static MessageFault CreateSecurityMessageFault(Exception e, SecurityStandardsManager standardsManager) 1690Exception completionException = null; 1696catch (Exception e) 1765Exception completionException = null; 1771catch (Exception e) 2190static Exception CreateCertificateLoadException(StoreName storeName, StoreLocation storeLocation, 2450Exception completionException = null; 2459catch (Exception e)
System\ServiceModel\Security\SecurityVerifiedMessage.cs (1)
119Exception CreateBadStateException(string operation)
System\ServiceModel\Security\SessionKeyExpiredException.cs (1)
27public SessionKeyExpiredException(String message, Exception innerException)
System\ServiceModel\Security\TimeBoundedCache.cs (1)
415Exception inner = new QuotaExceededException(message);
System\ServiceModel\Security\TlsnegoTokenProvider.cs (1)
266catch (Exception e)
System\ServiceModel\Security\Tokens\SecurityContextCookieSerializer.cs (2)
225catch (Exception e) 251internal static void OnInvalidCookieFailure(string reason, Exception e)
System\ServiceModel\Security\Tokens\SecurityContextTokenValidationException.cs (1)
24public SecurityContextTokenValidationException(String message, Exception innerException)
System\ServiceModel\Security\TransportSecurityProtocol.cs (3)
95catch (Exception exception) 162catch (Exception exception) 188catch (Exception e)
System\ServiceModel\Security\WrappedRsaSecurityTokenAuthenticator.cs (1)
61catch ( Exception ex )
System\ServiceModel\Security\WrappedSaml11SecurityTokenAuthenticator.cs (1)
61catch ( Exception ex )
System\ServiceModel\Security\WrappedSaml2SecurityTokenAuthenticator.cs (1)
72catch ( Exception ex )
System\ServiceModel\Security\WrappedSessionSecurityTokenAuthenticator.cs (1)
107catch (Exception ex)
System\ServiceModel\Security\WrappedUserNameSecurityTokenAuthenticator.cs (1)
61catch ( Exception ex )
System\ServiceModel\Security\WrappedX509SecurityTokenAuthenticator.cs (1)
60catch ( Exception ex )
System\ServiceModel\Security\WSSecurityJan2004.cs (1)
579catch (Exception exception)
System\ServiceModel\Security\WSSecurityPolicy.cs (5)
1939catch ( Exception e ) 2357catch (Exception e) 2879Exception mexException = null; 2884catch (Exception e) 2903catch (Exception e)
System\ServiceModel\Security\WSSecurityPolicy11.cs (1)
89catch (Exception e)
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (4)
200bool ShouldWrapException(Exception e) 234catch (Exception e) 276catch (Exception e) 464catch (Exception e)
System\ServiceModel\Security\WsSecurityTokenSerializerAdapter.cs (4)
232catch ( Exception ex ) 290catch ( Exception ex ) 427catch ( Exception ex ) 472catch ( Exception ex )
System\ServiceModel\Security\WSTrust.cs (1)
947catch (Exception e)
System\ServiceModel\Security\WSTrustChannel.cs (1)
117catch (Exception ex)
System\ServiceModel\Security\WSTrustRequestProcessingErrorEventArgs.cs (3)
14Exception _exception; 22public WSTrustRequestProcessingErrorEventArgs( string requestType, Exception exception ) 31public Exception Exception
System\ServiceModel\Security\WSTrustServiceContract.cs (9)
327catch (Exception ex) 591catch (Exception ex) 629catch (Exception ex) 649protected virtual bool HandleException(Exception ex, string trustNamespace, string action, EnvelopeVersion requestEnvelopeVersion) 1455catch (Exception ex) 1532catch (Exception e) 1548catch (Exception e) 1564catch (Exception e) 1580catch (Exception e)
System\ServiceModel\Security\X509ClientCertificateAuthentication.cs (3)
242Exception exception; 250internal bool TryValidate(X509Certificate2 certificate, out Exception exception) 319Exception exception;
System\ServiceModel\ServerTooBusyException.cs (1)
15public ServerTooBusyException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\ServiceActivationException.cs (1)
15public ServiceActivationException(string message, Exception innerException) : base(message, innerException) { }
System\ServiceModel\ServiceHost.cs (19)
1137catch (Exception e) 1215catch (Exception exception) 1332Exception exception = null; 1338catch (Exception e) 1367Exception exception = null; 1372catch (Exception e) 1395Exception exception = null; 1408catch (Exception e) 1442Exception exception = null; 1447catch (Exception e) 1471Exception exception = null; 1478catch (Exception e) 1507Exception exception = null; 1512catch (Exception e) 1536Exception exception = null; 1542catch (Exception e) 1571Exception exception = null; 1576catch (Exception e) 1588void CallComplete(bool completedSynchronously, Exception exception)
System\ServiceModel\SpnEndpointIdentity.cs (1)
126catch (Exception e)
System\ServiceModel\Transactions\WsatConfiguration.cs (1)
25public TransactionManagerConfigurationException(string error, Exception e)
System\ServiceModel\Transactions\WsatProxy.cs (1)
186Exception inner = e.InnerException;
System\ServiceModel\UpnEndpointIdentity.cs (2)
90catch (Exception e) 193catch (Exception e)
System\ServiceModel\WrappedDispatcherException.cs (1)
28public WrappedDispatcherException(string message, Exception inner)
System\ServiceModel\XmlBuffer.cs (1)
123Exception CreateInvalidStateException()
System\UriTemplateMatchException.cs (1)
21public UriTemplateMatchException(string message, Exception innerException)
System.ServiceModel.Activation (50)
System\ServiceModel\Activation\Diagnostics\TraceUtility.cs (2)
32internal static void TraceEvent(TraceEventType severity, int traceCode, string traceDescription, object source, Exception exception) 37internal static void TraceEvent(TraceEventType severity, int traceCode, string traceDescription, TraceRecord record, object source, Exception exception)
System\ServiceModel\Activation\HostedHttpContext.cs (7)
55internal void CompleteWithException(Exception ex) 443static Exception CreateCommunicationException(HttpException hostedException) 666catch (Exception e) 683catch (Exception e) 696catch (Exception e) 709catch (Exception e) 716void CheckWrapThrow(Exception e)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (5)
404Exception completionException = null; 409catch (Exception e) 615internal void CompleteOperation(Exception exception) 658void CompleteAsynchronously(Exception ex) 693catch (Exception exception)
System\ServiceModel\Activation\HostedHttpTransportManager.cs (2)
196Exception completionException = null; 201catch (Exception exception)
System\ServiceModel\Activation\HostedTransportConfigurationManager.cs (1)
226catch (Exception exception)
System\ServiceModel\Activation\MetabaseSettings.cs (1)
502SR.TraceCodeWebHostNoCBTSupport, this, (Exception)null);
System\ServiceModel\Activation\ServiceParser.cs (13)
113new StringTraceRecord("VirtualPath", virtualPath), this, (Exception)null); 244Exception CreateParseException(string message, string sourceCode) 249Exception CreateParseException(Exception innerException, string sourceCode) 254Exception CreateParseException(string message, Exception innerException, string sourceCode) 295catch (Exception e) 447Exception parseException = CreateParseException(e, this.serviceText); 686Exception parseException = CreateParseException(e, this.sourceString); 692Exception parseException = CreateParseException(e, this.sourceString); 698Exception parseException = CreateParseException(SR.Hosting_BuildProviderCouldNotCreateType(typeName), e, this.sourceString); 718Exception parseException = CreateParseException(SR.Hosting_BuildProviderCouldNotCreateType(typeName), e, this.sourceString); 723Exception exception = CreateParseException(SR.Hosting_BuildProviderCouldNotCreateType(typeName), this.sourceString);
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (4)
171catch (Exception e) 173Exception newException; 193internal static bool TryWrapSupportedVersionException(string filePath, Exception e, out Exception newException)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (3)
67catch (Exception e) 69Exception newException; 219catch (Exception ex)
System\ServiceModel\ServiceHostingEnvironment.cs (11)
70Exception exception = e.ExceptionObject as Exception; 902Exception lastException = null; 915new StringTraceRecord("VirtualPath", VirtualPathUtility.ToAbsolute(normalizedVirtualPath, HostingEnvironmentWrapper.ApplicationVirtualPath)), this, (Exception)null); 955catch (Exception ex) 1532internal static void LogServiceCloseError(string virtualPath, Exception exception, object source) 1614Exception lastException; 1629public Exception LastException 1638public void SetLastException(Exception lastException) 1705catch (Exception exception) 1737catch (Exception exception)
TD.Designer.cs (1)
650internal static void ServiceActivationException(string param0, System.Exception exception)
System.ServiceModel.Activities (199)
System\ServiceModel\Activities\ContractInferenceHelper.cs (1)
58exceptionType = typeof(Exception);
System\ServiceModel\Activities\CorrelationRequestContext.cs (3)
17Exception exceptionOnReply; 35public Exception Exception 82public void ReceiveAsyncReply(OperationContext operationContext, Message reply, Exception replyException)
System\ServiceModel\Activities\CorrelationResponseContext.cs (1)
20internal Exception Exception
System\ServiceModel\Activities\Diagnostics\WorkflowServiceHostPerformanceCounters.cs (1)
253catch (Exception exception)
System\ServiceModel\Activities\Dispatcher\BufferedReceiveManager.cs (3)
67catch (Exception exception) 276catch (Exception exception) 307catch (Exception exception)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (9)
271static Action<AsyncResult, Exception> onCompleting = new Action<AsyncResult, Exception>(Finally); 284Exception operationException; 352static void Finally(AsyncResult result, Exception completionException) 437catch (Exception exception) 521catch (Exception exception) 644catch (Exception exception) 727catch (Exception exception) 749bool AbandonReceiveContext(Exception operationException)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (25)
221catch (Exception exception) 240bool HandleException(Exception exception) 500static Action<AsyncResult, Exception> onFinally = new Action<AsyncResult, Exception>(OnFinally); 527Exception completionException = null; 543catch (Exception exception) 568static void OnFinally(AsyncResult result, Exception exception) 724Exception completionException = null; 730catch (Exception e) 788catch (Exception e) 871catch (Exception e) 950Exception completionException = null; 955catch (Exception e) 991static Action<AsyncResult, Exception> onCompleting = new Action<AsyncResult, Exception>(Finally); 1208catch (Exception exception) 1252catch (Exception exception) 1290static void Finally(AsyncResult result, Exception exception) 1302catch (Exception rollbackException) 1359Exception completionException = null; 1364catch (Exception exception) 1412catch (Exception exception) 1436catch (Exception exception) 1453catch (Exception exception) 1479catch (Exception exception)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (13)
277public IAsyncResult BeginUpdateSuspendMetadata(Exception reason, TimeSpan timeout, AsyncCallback callback, object state) 442void OnFinishOperationHelper(Exception exception, bool ownsThrottle) 728OnCompleting = new Action<AsyncResult, Exception>(OnFinishOperation); 763void OnFinishOperation(AsyncResult result, Exception exception) 784OnCompleting = new Action<AsyncResult, Exception>(OnFinishOperation); 950void OnFinishOperation(AsyncResult result, Exception exception) 979OnCompleting = new Action<AsyncResult, Exception>(OnFinishOperation); 1102void OnFinishOperation(AsyncResult result, Exception exception) 1138OnCompleting = new Action<AsyncResult, Exception>(OnFinishOperation); 1295void OnFinishOperation(AsyncResult result, Exception exception) 1324public UpdateSuspendMetadataAsyncResult(PersistenceContext persistenceContext, Exception reason, TimeSpan timeout, AsyncCallback callback, object state) 1328OnCompleting = new Action<AsyncResult, Exception>(OnFinishOperation); 1408void OnFinishOperation(AsyncResult result, Exception exception)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (10)
710static Action<AsyncResult, Exception> onComplete = new Action<AsyncResult, Exception>(OnComplete); 751Exception completionException = null; 785catch (Exception exception) 836Exception completionException = null; 845catch (Exception exception) 1084Exception completionException = null; 1089catch (Exception exception) 1294static void OnComplete(AsyncResult result, Exception exception) 1365static void OnThrottleAcquired(object state, Exception asyncException)
System\ServiceModel\Activities\Dispatcher\TransactionWaitAsyncResult.cs (1)
113Exception exception = null;
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (101)
123Exception terminationException; 621static void OnLockAcquiredAsync(object state, Exception asyncException) 652bool CleanupIdleWaiter(AsyncWaitHandle idleEvent, Exception waitException, ref bool ownsLock) 847public IAsyncResult BeginAbandon(Exception reason, TimeSpan timeout, AsyncCallback callback, object state) 854IAsyncResult BeginAbandon(Exception reason, bool shouldTrackAbort, TimeSpan timeout, AsyncCallback callback, object state) 864IAsyncResult BeginAbandonAndSuspend(Exception reason, TimeSpan timeout, AsyncCallback callback, object state) 875void AbortInstance(Exception reason, bool isWorkflowThread) 880void AbortInstance(Exception reason, bool isWorkflowThread, bool shouldTrackAbort) 1008void OnAbortLockAcquired(object state, Exception exception) 1093catch (Exception e) 1125catch (Exception e) 1161IAsyncResult BeginTerminate(Exception reason, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 1216Exception abortException = null; 1257catch (Exception e) 1274Exception abortReason = this.Controller.GetAbortReason(); 1326protected override void OnRequestAbort(Exception reason) 1395protected override void OnNotifyUnhandledException(Exception exception, Activity exceptionSource, 2018public AbortInstanceState(Exception reason, bool shouldTrackAbort) 2024public Exception Reason 2214catch (Exception e) 2235void FaultPendingRequests(Exception e) 2279catch (Exception exception) 2299catch (Exception exception) 2421static Action<AsyncResult, Exception> onCompleting = new Action<AsyncResult, Exception>(Finally); 2442Exception completionException = null; 2447catch (Exception e) 2501static void AcquireCompletedCallback(object state, Exception completionException) 2512catch (Exception e) 2655static void OnLockAcquired(object state, Exception asyncException) 2668Exception completionException = null; 2674catch (Exception exception) 2737static void Finally(AsyncResult result, Exception completionException) 2817static void AcquireCompletedCallback(object state, Exception completionException) 2827catch (Exception e) 2900static Action<AsyncResult, Exception> onCompleting = new Action<AsyncResult, Exception>(Finally); 2969static void Finally(AsyncResult result, Exception completionException) 2985static Action<AsyncResult, Exception> onCompleting = new Action<AsyncResult, Exception>(Finally); 3016Exception completionException = null; 3031catch (Exception e) 3122Exception completionException = null; 3128catch (Exception e) 3283Exception completionException = null; 3289catch (Exception e) 3312static void Finally(AsyncResult result, Exception completionException) 3344static Action<AsyncResult, Exception> completeCallback = new Action<AsyncResult, Exception>(OnComplete); 3536static void OnLockAcquired(object state, Exception asyncException) 3551Exception completionException = null; 3557catch (Exception e) 4024static void OnComplete(AsyncResult result, Exception exception) 4037static Action<AsyncResult, Exception> onCompleting = new Action<AsyncResult, Exception>(Finally); 4079Exception completionException = null; 4088catch (Exception exception) 4108static void OnLockAcquired(object state, Exception asyncException) 4120Exception completionException = null; 4127catch (Exception exception) 4235static void Finally(AsyncResult result, Exception completionException) 4259Exception reason; 4265TerminateAsyncResult(WorkflowServiceInstance instance, Exception reason, Transaction transaction, AsyncCallback callback, object state) 4271public static TerminateAsyncResult Create(WorkflowServiceInstance instance, Exception reason, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 4320Exception reason; 4325AbandonAsyncResult(WorkflowServiceInstance instance, Exception reason, bool shouldTrackAbort, AsyncCallback callback, object state) 4332public static AbandonAsyncResult Create(WorkflowServiceInstance instance, Exception reason, bool shouldTrackAbort, TimeSpan timeout, AsyncCallback callback, object state) 4384catch (Exception exception) 4413catch (Exception exception) 4432Exception reason; 4434AbandonAndSuspendAsyncResult(WorkflowServiceInstance instance, Exception reason, AsyncCallback callback, object state) 4440public static AbandonAndSuspendAsyncResult Create(WorkflowServiceInstance instance, Exception reason, TimeSpan timeout, AsyncCallback callback, object state) 4476catch (Exception exception) 4863static void OnLockAcquired(object state, Exception asyncException) 4879Exception completionException = null; 4886catch (Exception e) 4927catch (Exception e) 5064Exception completionException = null; 5070catch (Exception exception) 5122static void OnLockAcquired(object state, Exception asyncException) 5135Exception completionException = null; 5141catch (Exception exception) 5314Exception completionException = asyncException; 5531public UnhandledExceptionAsyncData(WorkflowServiceInstance instance, Exception exception, Activity exceptionSource) 5552public Exception Exception 5597catch (Exception e) 5680catch (Exception ex) 5737catch (Exception ex) 5759catch (Exception ex) 5830catch (Exception ex) 5852catch (Exception ex) 5890catch (Exception ex) 5904static Action<AsyncResult, Exception> onCompleting = new Action<AsyncResult, Exception>(Finally); 5919Exception completionException = null; 5928catch (Exception exception) 5953static void AcquireCompletedCallback(object state, Exception completionException) 5964catch (Exception exception) 6016static void Finally(AsyncResult result, Exception completionException) 6084catch (Exception ex) 6107catch (Exception ex)
System\ServiceModel\Activities\FromReply.cs (3)
91Exception exception = DeserializeFault(inMessage, faultConverter); 134Exception DeserializeFault(Message inMessage, FaultConverter faultConverter) 145Exception exception = null;
System\ServiceModel\Activities\InternalReceiveMessage.cs (1)
516catch (Exception ex)
System\ServiceModel\Activities\InternalSendMessage.cs (10)
857Exception fault = state as Exception; 1032catch (Exception e) 1047catch (Exception e) 1183catch (Exception ex) 1424void OnSendFailure(NativeActivityFaultContext context, Exception propagatedException, ActivityInstance propagatedFrom) 1595Exception completionException = instance.GetCompletionException(); 1934catch (Exception exception) 1992catch (Exception exception) 2584public Exception GetCompletionException()
System\ServiceModel\Activities\ToReply.cs (2)
181Exception exception = this.parameters[0].Get(context) as Exception;
System\ServiceModel\Activities\WorkflowCreationContext.cs (1)
58Exception terminationException, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Activities\WorkflowHostingResponseContext.cs (4)
43if (this.returnValue is Exception) 45this.context.SendFault((Exception)this.returnValue); 56if (this.returnValue is Exception) 58throw FxTrace.Exception.AsError((Exception)this.returnValue);
System\ServiceModel\Activities\WorkflowOperationContext.cs (8)
35static Action<AsyncResult, Exception> onCompleting = new Action<AsyncResult, Exception>(Finally); 51Exception pendingException; 122catch (Exception e) 216public void SendFault(Exception exception) 359catch (Exception ex) 426catch (Exception ex) 755static void Finally(AsyncResult result, Exception completionException)
System\ServiceModel\Activities\WorkflowService.cs (1)
379catch (Exception exception)
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
568internal void FaultServiceHostIfNecessary(Exception exception)
System.ServiceModel.Channels (55)
System\ServiceModel\Channels\ByteStreamMessage.cs (4)
247Exception ex = null; 252catch (Exception e) 268catch (Exception e) 287catch (Exception e)
System\ServiceModel\Channels\ByteStreamMessageEncoder.cs (5)
302static Action<IAsyncResult, Exception> onCleanup; 314onCleanup = new Action<IAsyncResult, Exception>(Cleanup); 317Exception completionException = null; 332catch (Exception ex) 364static void Cleanup(IAsyncResult result, Exception ex)
System\ServiceModel\Channels\ClientUdpOutputChannel.cs (1)
39protected override UdpSocket[] GetSendSockets(Message message, out IPEndPoint remoteEndPoint, out Exception exceptionToBeThrown)
System\ServiceModel\Channels\IUdpReceiveHandler.cs (1)
15void HandleAsyncException(Exception exception);
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (4)
27protected UdpSocket GetSendSocket(IPAddress address, Uri destination, out Exception exceptionToBeThrown) 63protected UdpSocket GetSendSocket(int interfaceIndex, out Exception exceptionToBeThrown) 98protected override UdpSocket[] GetSendSockets(Message message, out IPEndPoint remoteEndPoint, out Exception exceptionToBeThrown) 248private UdpSocket GetSendSocketUsingInterfaceIndex(MessageProperties properties, out Exception exceptionToBeThrown)
System\ServiceModel\Channels\UdpChannelBase.cs (3)
168catch (Exception e) 202void IUdpReceiveHandler.HandleAsyncException(Exception ex) 207internal virtual void HandleReceiveException(Exception ex)
System\ServiceModel\Channels\UdpChannelListener.cs (4)
163void IUdpReceiveHandler.HandleAsyncException(Exception ex) 210catch (Exception e) 487void HandleReceiveException(Exception ex) 785internal override void HandleReceiveException(Exception ex)
System\ServiceModel\Channels\UdpOutputChannel.cs (10)
208Exception exceptionToBeThrown; 290protected abstract UdpSocket[] GetSendSockets(Message message, out IPEndPoint remoteEndPoint, out Exception exceptionToBeThrown); 725Exception completionException = null; 736catch (Exception e) 757Exception completionException = null; 763catch (Exception e) 887Exception exceptionToThrow; 931private void CompleteAndCleanup(bool completedSynchronously, Exception completionException) 970Exception completionException = null; 992catch (Exception e)
System\ServiceModel\Channels\UdpReplyChannel.cs (3)
179private static Exception CreateReceiveRequestTimedOutException(IReplyChannel channel, TimeSpan timeout) 228Exception completionException = null; 233catch (Exception e)
System\ServiceModel\Channels\UdpSocket.cs (8)
211static Exception ConvertNetworkError(SocketException socketException, ReceiveFromAsyncResult result) 219static Exception ConvertNetworkError(SocketException socketException, int size, TransferDirection direction, int timeToLive) 221Exception result = null; 237Exception inner = new QuotaExceededException(errorMessage, socketException); 324Exception completionException = null; 335catch (Exception ex) 439Exception completionException = null; 450catch (Exception exception)
System\ServiceModel\Channels\UdpSocketReceiveManager.cs (8)
128catch (Exception ex) 150catch (Exception ex) 165catch (Exception ex) 183catch (Exception ex) 220catch (Exception ex) 258catch (Exception e) 336bool TryHandleException(Exception ex) 358catch (Exception e)
System\ServiceModel\Channels\UdpUtility.cs (4)
54internal static bool CanIgnoreServerException(Exception ex) 390public static Exception WrapAsyncException(Exception ex) 516public static bool TryGetSocketError(Exception ex, out SocketError error)
System.ServiceModel.Discovery (65)
System\ServiceModel\Discovery\AnnouncementDispatcherAsyncResult.cs (5)
86Exception error = null; 105catch (Exception e) 127Exception error = null; 132catch (Exception e) 189void CallCompleteOnce(bool completedSynchronously, Exception e)
System\ServiceModel\Discovery\DiscoveryClient.cs (15)
536void IDiscoveryInnerClientResponse.PostFindCompletedAndRemove(UniqueId operationId, bool cancelled, Exception error) 545void IDiscoveryInnerClientResponse.PostResolveCompletedAndRemove(UniqueId operationId, bool cancelled, Exception error) 828Exception error = null; 848catch (Exception e) 875Exception error = null; 892catch (Exception e) 947Exception error = null; 952catch (Exception e) 971void PostFindCompleted(FindAsyncOperationContext context, bool cancelled, Exception error) 1038Exception error = null; 1043catch (Exception e) 1061void PostResolveCompleted(ResolveAsyncOperationContext context, bool cancelled, Exception error) 1160bool DispatchToTaskAyncOperation<TResult>(object userState, TResult result, Exception error, bool cancelled) 1230Exception timeoutException = null; 1411internal void Complete(TResult result, Exception error, bool cancelled)
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (12)
26Exception exception; 231Exception exception = null; 367Exception exception = null; 404static void TraceInnerChannelFailure(TChannel innerChannel, EndpointAddress to, Uri via, Exception exception) 473Exception ex = this.CheckEndpointDiscoveryMetadataAndGetException(); 547new DiscoveryChannelBuilderAsyncResult.AsyncCatch<Exception>(HandleException) 554static Exception HandleTimeoutException(DiscoveryChannelBuilderAsyncResult thisPtr, TimeoutException e) 565static Exception HandleException(DiscoveryChannelBuilderAsyncResult thisPtr, Exception e) 576static Exception HandleCommunicationException(DiscoveryChannelBuilderAsyncResult thisPtr, CommunicationException e) 598Exception exception = null; 629Exception CheckEndpointDiscoveryMetadataAndGetException()
System\ServiceModel\Discovery\FindCompletedEventArgs.cs (1)
15internal FindCompletedEventArgs(Exception error, bool cancelled, object userState, FindResponse result)
System\ServiceModel\Discovery\IDiscoveryInnerClientResponse.cs (2)
15void PostFindCompletedAndRemove(UniqueId operationId, bool cancelled, Exception error); 16void PostResolveCompletedAndRemove(UniqueId operationId, bool cancelled, Exception error);
System\ServiceModel\Discovery\IteratorAsyncResult.cs (14)
76protected void CompleteOnce(Exception error) 118Exception error = null; 130catch (Exception e) 216Exception error = null; 222catch (Exception e) 240void HandleException(Exception e, AsyncStep step) 244Exception outException; 273public delegate Exception ExceptionHandler<TException>(TIteratorState iterState, TException exception) 274where TException : Exception; 302bool HandleException(TIteratorState iterState, Exception ex, out Exception outEx); 306where TException : Exception 315public bool HandleException(TIteratorState state, Exception ex, out Exception outEx)
System\ServiceModel\Discovery\ProbeDuplexAsyncResult.cs (2)
30Exception findException; 172catch (Exception e)
System\ServiceModel\Discovery\RandomDelaySendsAsyncResult.cs (9)
129Exception error = null; 141catch (Exception e) 174Exception error = null; 181catch (Exception e) 205Exception error = null; 218catch (Exception e) 243Exception error = null; 250catch (Exception e) 266void CallCompleteOnce(bool completedSynchronously, Exception e)
System\ServiceModel\Discovery\ResolveCompletedEventArgs.cs (1)
15internal ResolveCompletedEventArgs(Exception error, bool cancelled, object userState, ResolveResponse result)
TD.Designer.cs (4)
77internal static void DiscoveryClientInClientChannelFailedToClose(System.Exception exception) 106internal static void DiscoveryClientProtocolExceptionSuppressed(System.Exception exception) 561internal static void InnerChannelCreationFailed(string endpointAddress, string via, System.Exception exception) 592internal static void InnerChannelOpenFailed(string endpointAddress, string via, System.Exception exception)
System.ServiceModel.Internals (112)
System\Runtime\AsyncEventArgs.cs (3)
19Exception exception; 21public Exception Exception 73public virtual void Complete(bool completedSynchronously, Exception exception)
System\Runtime\AsyncResult.cs (7)
20Exception exception; 104protected Action<AsyncResult, Exception> OnCompleting { get; set; } 145catch (Exception exception) 189catch (Exception e) 202protected void Complete(bool completedSynchronously, Exception exception) 232Exception completionException = null; 237catch (Exception e)
System\Runtime\BufferedOutputStream.cs (1)
253protected virtual Exception CreateQuotaExceededException(int maxSizeQuota)
System\Runtime\CallbackException.cs (1)
17public CallbackException(string message, Exception innerException) : base(message, innerException)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (8)
322protected abstract void OnUnhandledException(Exception exception); 326Exception e = (Exception)args.ExceptionObject; 352protected static void AddExceptionToTraceString(XmlWriter xml, Exception exception) 384protected static string StackTraceString(Exception exception) 438protected void LogTraceFailure(string traceString, Exception exception) 465catch (Exception eventLoggerException) 486catch (Exception exception)
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (13)
76catch (Exception exception) 94catch (Exception exception) 279catch (Exception e) 316catch (Exception exception) 455public TracePayload GetSerializedPayload(object source, TraceRecord traceRecord, Exception exception) 460public TracePayload GetSerializedPayload(object source, TraceRecord traceRecord, Exception exception, bool getServiceReference) 624catch (Exception exception) 650catch (Exception exception) 712protected override void OnUnhandledException(Exception exception) 720internal static string ExceptionToTraceString(Exception exception, int maxTraceStringLength) 743static void WriteExceptionToTraceString(XmlTextWriter xml, Exception exception, int remainingLength, int remainingAllowedRecursionDepth) 807static string GetInnerException(Exception exception, int remainingLength, int remainingAllowedRecursionDepth) 841static string GetExceptionData(Exception exception)
System\Runtime\Diagnostics\EventLogger.cs (1)
186catch (Exception e)
System\Runtime\ExceptionTrace.cs (28)
32public void AsInformation(Exception exception) 38public void AsWarning(Exception exception) 44public Exception AsError(Exception exception) 50return AsError<Exception>(aggregateException); 60return TraceException<Exception>(exception); 63public Exception AsError(Exception exception, string eventSource) 69return AsError<Exception>(aggregateException, eventSource); 79return TraceException<Exception>(exception, eventSource); 82public Exception AsError(TargetInvocationException targetInvocationException, string eventSource) 94Exception innerException = targetInvocationException.InnerException; 102return TraceException<Exception>(targetInvocationException, eventSource); 105public Exception AsError<TPreferredException>(AggregateException aggregateException) 126public Exception AsError<TPreferredException>(AggregateException aggregateException, string eventSource) 139ReadOnlyCollection<Exception> innerExceptions = aggregateException.Flatten().InnerExceptions; 146Exception favoredException = null; 147foreach (Exception nextInnerException in innerExceptions) 152Exception innerException = (targetInvocationException != null && targetInvocationException.InnerException != null) 162TraceException<Exception>(innerException, eventSource); 210public void TraceUnhandledException(Exception exception) 215public void TraceHandledException(Exception exception, TraceEventType traceEventType) 246public void TraceEtwException(Exception exception, TraceEventType eventType) 273where TException : Exception 283where TException : Exception 298void BreakOnException(Exception exception) 346catch (Exception exception) 363catch (Exception ex)
System\Runtime\FastAsyncCallback.cs (1)
9delegate void FastAsyncCallback(object state, Exception asyncException);
System\Runtime\FatalException.cs (1)
20public FatalException(string message, Exception innerException) : base(message, innerException)
System\Runtime\Fx.cs (17)
139public static Exception AssertAndThrow(string description) 155public static Exception AssertAndThrowFatal(string description) 176public static Exception AssertAndFailFast(string description) 202public static bool IsFatal(Exception exception) 227ReadOnlyCollection<Exception> innerExceptions = ((AggregateException)exception).InnerExceptions; 228foreach (Exception innerException in innerExceptions) 485static void TraceExceptionNoThrow(Exception exception) 506static bool HandleAtThreadBase(Exception exception) 522catch (Exception secondException) 553public abstract bool HandleException(Exception exception); 1074catch (Exception exception) 1108catch (Exception exception) 1142catch (Exception exception) 1176catch (Exception exception) 1210catch (Exception exception) 1244catch (Exception exception) 1286catch (Exception exception)
System\Runtime\IAsyncEventArgs.cs (1)
11Exception Exception { get; }
System\Runtime\InputQueue.cs (9)
325public void EnqueueAndDispatch(Exception exception, Action dequeuedCallback, bool canDispatchOnThisThread) 343public bool EnqueueWithoutDispatch(Exception exception, Action dequeuedCallback) 357public void Shutdown(Func<Exception> pendingExceptionGenerator) 386Exception exception = (pendingExceptionGenerator != null) ? pendingExceptionGenerator() : null; 749Exception exception; 757public Item(Exception exception, Action dequeuedCallback) 762Item(T value, Exception exception, Action dequeuedCallback) 774public Exception Exception 1007Exception exception;
System\Runtime\IOThreadTimer.cs (1)
635Exception exception = new Win32Exception();
System\Runtime\ReadOnlyDictionaryInternal.cs (1)
66Exception CreateReadOnlyException()
System\Runtime\ScheduleActionItemAsyncResult.cs (2)
30Exception completionException = null; 35catch (Exception ex)
System\Runtime\TaskExtensions.cs (2)
160public static void Wait(this Task task, TimeSpan timeout, Action<Exception, TimeSpan, string> exceptionConverter, string operationType) 175catch (Exception ex)
System\Runtime\ThreadNeutralSemaphore.cs (4)
24Func<Exception> abortedExceptionGenerator; 39public ThreadNeutralSemaphore(int maxCount, Func<Exception> abortedExceptionGenerator) 102Exception exceptionToPropagate = exception; 181Exception CreateObjectAbortedException()
System\Runtime\TypeHelper.cs (1)
29public static readonly Type ExceptionType = typeof(Exception);
TraceCore.Designer.cs (10)
110internal static void HandledException(EtwDiagnosticTrace trace, string param0, System.Exception exception) 172internal static void ThrowingException(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception) 203internal static void UnhandledException(EtwDiagnosticTrace trace, string param0, System.Exception exception) 384internal static void HandledExceptionWarning(EtwDiagnosticTrace trace, string param0, System.Exception exception) 516internal static void HandledExceptionError(EtwDiagnosticTrace trace, string param0, System.Exception exception) 547internal static void HandledExceptionVerbose(EtwDiagnosticTrace trace, string param0, System.Exception exception) 578internal static void EtwUnhandledException(EtwDiagnosticTrace trace, string param0, System.Exception exception) 605internal static void ThrowingEtwException(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception) 632internal static void ThrowingEtwExceptionVerbose(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception) 659internal static void ThrowingExceptionVerbose(EtwDiagnosticTrace trace, string param0, string param1, System.Exception exception)
System.ServiceModel.Routing (39)
System\ServiceModel\Routing\ClientFactory.cs (3)
308catch (Exception exception) 399catch (Exception e) 416catch (Exception e)
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (15)
86catch (Exception e) 226catch (Exception exception) 253catch (Exception exception) 269catch (Exception e) 333catch (Exception e) 445catch (Exception exception) 466catch (Exception exception) 476catch (Exception e) 493bool HandleClientOperationFailure(Exception e) 584bool HandleCloseFailure(Exception e) 683catch (Exception e) 747catch (Exception e) 764void CompleteSelf(Exception operationException) 766Exception exception = operationException; 787void Fault(Exception e)
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (3)
121catch (Exception exception) 150catch (Exception exception) 206bool HandleClientOperationFailure(Exception exception)
System\ServiceModel\Routing\RoutingChannelExtension.cs (4)
131Exception exception = null; 163catch (Exception exception) 220catch (Exception exception) 232public void Fault(Exception exception)
System\ServiceModel\Routing\RoutingService.cs (5)
94internal Exception SessionException 276catch (Exception exception) 293catch (Exception exception) 310catch (Exception exception) 327catch (Exception exception)
System\ServiceModel\Routing\SendOperation.cs (3)
20Dictionary<string, Exception> exceptions; 83public bool TryMoveToAlternate(Exception exception) 87this.exceptions = new Dictionary<string, Exception>();
TD.Designer.cs (6)
135internal static void RoutingServiceCompletingOneWay(System.Exception exception) 195internal static void RoutingServiceProcessingFailure(System.Runtime.Diagnostics.EventTraceActivity eventTraceActivity, string param0, System.Exception exception) 439internal static void RoutingServiceDuplexCallbackException(System.Runtime.Diagnostics.EventTraceActivity eventTraceActivity, string param0, System.Exception exception) 531internal static void RoutingServiceCloseFailed(string param0, System.Exception exception) 712internal static void RoutingServiceTransmitFailed(System.Runtime.Diagnostics.EventTraceActivity eventTraceActivity, string param0, System.Exception exception) 817internal static void RoutingServiceHandledException(System.Runtime.Diagnostics.EventTraceActivity eventTraceActivity, System.Exception exception)
System.ServiceModel.WasHosting (4)
System\ServiceModel\WasHosting\BaseProcessProtocolHandler.cs (2)
34internal virtual void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex) 74catch (Exception ex)
System\ServiceModel\WasHosting\MsmqIntegrationProcessProtocolHandler.cs (1)
22internal override void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex)
System\ServiceModel\WasHosting\MsmqProcessProtocolHandler.cs (1)
22internal override void HandleStartListenerChannelError(IListenerChannelCallback listenerChannelCallback, Exception ex)
System.ServiceModel.Web (16)
System\ServiceModel\Channels\HttpStreamMessage.cs (5)
110Exception ex = null; 115catch (Exception e) 131catch (Exception e) 170Exception CreateDisposedException() 228Exception CreateDisposedException()
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (1)
444catch (Exception e)
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (2)
380public bool HandleError(Exception error) 385public void ProvideFault(Exception error, MessageVersion version, ref Message fault)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (1)
158public static XDocument CreateServerErrorPage(Uri helpUri, Exception error)
System\ServiceModel\Dispatcher\HelpPage.cs (1)
446catch (Exception e)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
274Exception handledException = null;
System\ServiceModel\Dispatcher\WebErrorHandler.cs (4)
34public bool HandleError(Exception error) 39public void ProvideFault(Exception error, MessageVersion version, ref Message fault) 116catch (Exception ex) 132Message CreateHtmlResponse(Exception error)
System\ServiceModel\Dispatcher\WebFaultFormatter.cs (1)
25catch (Exception e)
System.Transactions (111)
System\Transactions\DurableEnlistmentState.cs (6)
245internal override void Aborted( InternalEnlistment enlistment, Exception e ) 335internal override void Aborted( InternalEnlistment enlistment, Exception e ) 345internal override void InDoubt( InternalEnlistment enlistment, Exception e ) 386internal override void Aborted( InternalEnlistment enlistment, Exception e ) 401internal override void InDoubt( InternalEnlistment enlistment, Exception e ) 437internal override void InDoubt(InternalEnlistment enlistment, Exception e)
System\Transactions\Enlistment.cs (3)
24void ForceRollback(Exception e); 30void Aborted(Exception e); 34void InDoubt(Exception e);
System\Transactions\EnlistmentState.cs (6)
78internal virtual void ForceRollback( InternalEnlistment enlistment, Exception e ) 90internal virtual void Aborted( InternalEnlistment enlistment, Exception e ) 96internal virtual void InDoubt( InternalEnlistment enlistment, Exception e ) 208internal override void ForceRollback( InternalEnlistment enlistment, Exception e ) 242internal override void Aborted( InternalEnlistment enlistment, Exception e ) 259internal override void InDoubt( InternalEnlistment enlistment, Exception e )
System\Transactions\InternalTransaction.cs (1)
169internal Exception innerException = null;
System\Transactions\Oletx\OletxEnlistment.cs (5)
1119public void ForceRollback( Exception e ) 1165Interlocked.CompareExchange<Exception>( ref this.oletxTransaction.realOletxTransaction.innerException, e, null ); 1292public void Aborted(Exception e) 1321Interlocked.CompareExchange<Exception>( ref this.oletxTransaction.realOletxTransaction.innerException, e, null ); 1368public void InDoubt(Exception e)
System\Transactions\Oletx\OleTxTransaction.cs (3)
127internal Exception InnerException 546internal Exception innerException; 1231Interlocked.CompareExchange<Exception>( ref this.innerException, comException, null );
System\Transactions\Oletx\OletxVolatileEnlistment.cs (4)
1628void IPromotedEnlistment.ForceRollback(Exception e) 1673Interlocked.CompareExchange<Exception>( ref this.oletxTransaction.realOletxTransaction.innerException, e, null ); 1696void IPromotedEnlistment.Aborted(Exception e) 1706void IPromotedEnlistment.InDoubt(Exception e)
System\Transactions\PreparingEnlistment.cs (1)
86public void ForceRollback(Exception e)
System\Transactions\SinglePhaseEnlistment.cs (2)
56public void Aborted( Exception e ) 148public void InDoubt( Exception e )
System\Transactions\Trace\DiagnosticTrace.cs (16)
272catch (Exception e) 333static internal void TraceEvent(TraceEventType type, string code, string description, TraceRecord trace, Exception exception) 338static internal void TraceEvent(TraceEventType type, string code, string description, TraceRecord trace, Exception exception, ref Guid activityId, bool emitTransfer, object source) 369catch (Exception e) 382static internal void TraceAndLogEvent(TraceEventType type, string code, string description, TraceRecord trace, Exception exception, ref Guid activityId, object source) 407catch (Exception e) 439catch (Exception e) 474static void LogEvent(TraceEventType type, string code, string description, TraceRecord trace, Exception exception, object source) 565static void LogTraceFailure(string traceString, Exception e) 619catch (Exception exception) 633Exception e = (Exception)args.ExceptionObject; 642Exception exception, 653Exception exception, 691static void AddExceptionToTraceString(XmlWriter xml, Exception exception) 728static string StackTraceString(Exception exception)
System\Transactions\Trace\TraceRecords.cs (2)
1115private Exception exception; 1118internal static void Trace(string traceSource, Exception exception)
System\Transactions\Transaction.cs (1)
839public void Rollback(Exception e)
System\Transactions\TransactionException.cs (24)
19internal static TransactionException Create( string traceSource, string message, Exception innerException ) 31internal static TransactionException CreateTransactionStateException( string traceSource, Exception innerException ) 37internal static Exception CreateEnlistmentStateException( string traceSource, Exception innerException, Guid distributedTxId ) 52internal static Exception CreateInvalidOperationException( string traceSource, string message, Exception innerException ) 88Exception innerException 114internal static TransactionException Create(string traceSource, string message, Exception innerException, Guid distributedTxId) 123internal static TransactionException CreateTransactionStateException(string traceSource, Exception innerException, Guid distributedTxId) 129internal static Exception CreateTransactionCompletedException(string traceSource, Guid distributedTxId) 145internal static Exception CreateInvalidOperationException(string traceSource, string message, Exception innerException, Guid distributedTxId) 163internal static new TransactionAbortedException Create(string traceSource, string message, Exception innerException, Guid distributedTxId) 172internal static new TransactionAbortedException Create(string traceSource, string message, Exception innerException) 209Exception innerException 220Exception innerException 226Exception innerException, 257internal static new TransactionInDoubtException Create(string traceSource, string message, Exception innerException, Guid distributedTxId) 266internal static new TransactionInDoubtException Create(string traceSource, string message, Exception innerException) 304Exception innerException 328internal static new TransactionManagerCommunicationException Create( string traceSource, string message, Exception innerException ) 341internal static TransactionManagerCommunicationException Create( string traceSource, Exception innerException ) 371Exception innerException 418Exception innerException
System\Transactions\TransactionScope.cs (1)
620Exception exToThrow = null;
System\Transactions\TransactionState.cs (31)
800internal virtual void Rollback( InternalTransaction tx, Exception e ) 921internal virtual void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 1344internal override void Rollback( InternalTransaction tx, Exception e ) 1506internal override void Rollback( InternalTransaction tx, Exception e ) 1724internal override void Rollback( InternalTransaction tx, Exception e ) 1846internal override void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 1920internal override void Rollback( InternalTransaction tx, Exception e ) 1926internal override void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 1996internal override void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 2048internal override void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 2152internal override void Rollback( InternalTransaction tx, Exception e ) 2197internal override void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 2299internal override void Rollback( InternalTransaction tx, Exception e ) 2363internal override void Rollback( InternalTransaction tx, Exception e ) 2558internal override void Rollback( InternalTransaction tx, Exception e ) 3221internal override void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 3339internal override void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 3416internal override void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 3524internal override void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 3773internal override void Rollback( InternalTransaction tx, Exception e ) 3831internal override void ChangeStateTransactionAborted( InternalTransaction tx, Exception e ) 4196internal override void Rollback( InternalTransaction tx, Exception e ) 4317internal override void Rollback(InternalTransaction tx, Exception e) 4412internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception e) 4522internal override void Rollback(InternalTransaction tx, Exception e) 4617internal override void Rollback(InternalTransaction tx, Exception e) 4702internal override void Rollback(InternalTransaction tx, Exception e) 4720internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception e) 4926internal override void Rollback(InternalTransaction tx, Exception e) 4956internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception e) 5167internal override void Rollback( InternalTransaction tx, Exception e )
System\Transactions\VolatileEnlistmentState.cs (5)
380internal override void ForceRollback( InternalEnlistment enlistment, Exception e ) 466internal override void Aborted( InternalEnlistment enlistment, Exception e ) 474internal override void InDoubt( InternalEnlistment enlistment, Exception e ) 557internal override void ForceRollback( InternalEnlistment enlistment, Exception e ) 755internal override void InDoubt(InternalEnlistment enlistment, Exception e)
System.Web (547)
Abstractions\HttpContextBase.cs (3)
35public virtual Exception[] AllErrors { 95public virtual Exception Error { 247public virtual void AddError(Exception errorInfo) {
Abstractions\HttpContextWrapper.cs (3)
39public override Exception[] AllErrors { 99public override Exception Error { 254public override void AddError(Exception errorInfo) {
Abstractions\HttpServerUtilityBase.cs (1)
70public virtual Exception GetLastError() {
Abstractions\HttpServerUtilityWrapper.cs (1)
23public override Exception GetLastError() {
AspNetSynchronizationContextBase.cs (2)
24internal Exception Error { 47Exception ex = Error;
Cache\cache.cs (1)
381catch (Exception e) {
Cache\CacheEntry.cs (1)
290catch (Exception e) {
Cache\OutputCache.cs (3)
316private static void HandleErrorWithoutContext(Exception e) { 344catch (Exception e) { 361catch (Exception e) {
Cache\SqlCacheDependency.cs (8)
433public DatabaseNotEnabledForNotificationException(string message, Exception innerException) 457public TableNotEnabledForNotificationException(string message, Exception innerException) 477internal Exception _pollExpt; 763Exception pollExpt = null; 912catch (Exception e) { 1044Exception pollException; 1551catch (Exception e) { 1700catch (Exception e) {
Compilation\AssemblyBuilder.cs (1)
491catch (Exception e) {
Compilation\BuildManager.cs (5)
71private static Exception _initializeException; 109private Exception _topLevelFileCompilationException; 160catch (Exception e) { 194private void ReportErrorsFromException(Exception e) { 1212catch (Exception e) {
Compilation\BuildManagerHost.cs (1)
592internal Exception InitializationException {
Compilation\ClientBuildManager.cs (2)
124private Exception _hostCreationException; 680catch (Exception e) {
Compilation\MultiTargetingUtil.cs (1)
369Exception exception = null;
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
264catch (Exception ex) {
Configuration\CompilationSection.cs (1)
771catch (Exception e) {
Configuration\ConfigUtil.cs (2)
41catch (Exception e) { 119internal static ConfigurationErrorsException MakeConfigurationErrorsException(string message, Exception innerException = null, PropertyInformation configProperty = null) {
Configuration\HandlerBase.cs (1)
118catch (Exception e) {
Configuration\HealthMonitoringSectionHelper.cs (1)
62catch(Exception e) {
Configuration\HttpCapabilitiesBase.cs (3)
476Exception BuildParseError(Exception e, string capsKey) { 600catch (Exception e) {
Configuration\HttpCapabilitiesSectionHandler.cs (4)
153catch (Exception e) { 329Exception fcmException = null; 334catch (Exception e) { 344catch (Exception e) {
Configuration\HttpModuleAction.cs (1)
112catch (Exception ex) {
Configuration\MachineKeySection.cs (3)
947} catch (Exception e) { 1105} catch (Exception e) { 1186} catch(Exception e) {
Configuration\MapPathCacheInfo.cs (1)
22internal Exception CachedException;
Configuration\MetabaseServerConfig.cs (1)
293} catch (Exception e) {
Configuration\PagesSection.cs (2)
480catch (Exception ex) { 726catch (Exception e) {
Configuration\ProcessHostMapPath.cs (1)
296} catch (Exception e) {
Configuration\ProtocolsConfigurationEntry.cs (2)
63catch (Exception e) { 74catch (Exception e) {
Configuration\ProtocolsSection.cs (2)
269catch (Exception e) { 284catch (Exception e) {
Configuration\ProvidersHelper.cs (2)
42} catch (Exception e) { 73catch (Exception e) {
Configuration\RemoteWebConfigurationHostServer.cs (2)
73Exception createStreamExcep = null; 110} catch (Exception e) {
Configuration\TransformerInfoCollection.cs (1)
104catch (Exception e) {
DataAccess\DataConnectionHelper.cs (1)
306internal SqlExpressDBFileAutoCreationErrorFormatter( Exception exception ) : base( exception )
DataAccess\SqlConnectionHelper.cs (1)
249catch (Exception e) {
ErrorFormatter.cs (18)
525for (Exception e = Exception; e != null; e = e.InnerException) { 587protected virtual Exception Exception { 836protected Exception _e; 837protected Exception _initialException; 846internal UnhandledErrorFormatter(Exception e) : this(e, null, null){ 849internal UnhandledErrorFormatter(Exception e, String message, String postMessage) { 858for (Exception e = _e; e != null; e = e.InnerException) { 869protected override Exception Exception { 1027Exception e = (Exception)_exStack[i]; 1176internal SecurityErrorFormatter(Exception e) : base(e) {} 1603protected override Exception Exception { 1817protected override Exception Exception { 1851private Exception _e; 1873protected override Exception Exception { 1945private static ErrorFormatter GetFormatterForInnerException(Exception e) 1950Exception nested = e.InnerException; 1992internal UseLastUnhandledErrorFormatter(Exception e)
FileChangesMonitor.cs (2)
1294catch (Exception ex) { 1330catch (Exception ex) {
Handlers\AssemblyResourceLoader.cs (3)
480internal static void LogWebResourceFailure(string decryptedData, Exception exception) { 512Exception exception = null; 708catch(Exception e) {
Hosting\AppDomainFactory.cs (1)
181catch (Exception e) {
Hosting\ApplicationManager.cs (11)
95private static Exception _fatalException = null; 124internal static void RecordFatalException(Exception e) { 128internal static void RecordFatalException(AppDomain appDomain, Exception e) { 144Exception exception = eventArgs.ExceptionObject as Exception; 877catch (Exception e) { 910Exception appDomainCreationException = null; 927Exception appDomainStartupConfigurationException = null; 1182catch (Exception e) { 1223catch (Exception e) { 1427catch (Exception e) {
Hosting\AsyncResultBase.cs (1)
83internal void SetError(Exception error) {
Hosting\BackgroundWorkScheduler.cs (3)
18private readonly Action<AppDomain, Exception> _logCallback; 21internal BackgroundWorkScheduler(Action<BackgroundWorkScheduler> unregisterCallback, Action<AppDomain, Exception> logCallback, Action workItemCompleteCallback = null) { 39catch (Exception ex) {
Hosting\HostingEnvironment.cs (3)
287Exception appDomainCreationException) { 397catch (Exception e) { 500public static Exception InitializationException {
Hosting\IIS7WorkerRequest.cs (1)
2265catch(Exception e) {
Hosting\IPipelineRuntime.cs (7)
279private StringBuilder FormatExceptionMessage(Exception e, string[] strings) { 287for (Exception current = e; current != null; current = current.InnerException) { 334catch(Exception e) 433catch (Exception e) { 488catch(Exception e) { 745catch(Exception e) { 752internal static bool ShouldRethrowException(Exception ex) {
Hosting\ISAPIRuntime.cs (1)
180catch(Exception e) {
Hosting\PreloadHost.cs (2)
28catch (Exception e) { 44internal Exception InitializationException { get { return HttpRuntime.InitializationException; } }
Hosting\ProcessHost.cs (23)
342catch (Exception e) { 369catch (Exception e) { 411catch (Exception e) { 490catch (Exception e) { 516catch (Exception e) { 546catch (Exception e) { 605catch (Exception e) { 638catch (Exception e) { 671catch (Exception e) { 753catch (Exception e) { 768catch (Exception e) { 813catch (Exception e) { 859catch (Exception e) { 875catch (Exception e) { 892catch (Exception e) { 998catch (Exception e) { 1073Exception appInitEx = preloadHostObj.InitializationException; 1117catch (Exception e) { 1137private static Exception GetInnerMostException(Exception e) { 1224catch (Exception ex) { 1243catch (Exception ex) { 1252Exception ex = Marshal.GetExceptionForHR(hr, (pErrorInfo != IntPtr.Zero) ? pErrorInfo : (IntPtr)(-1));
Hosting\ProcessHostFactoryHelper.cs (1)
46catch(Exception e) {
HttpApplication.cs (36)
138private Exception _lastError; // placeholder for the error when context not avail 299internal Exception LastError { 622catch (Exception e) { 636catch (Exception e) { 648catch (Exception e) { 660catch (Exception e) { 1554catch (Exception e) { 1556Exception eActual; 1599internal void RaiseErrorWithoutContext(Exception error) { 1683catch (Exception e) { 1808catch (Exception e) { 2194internal Exception ExecuteStep(IExecutionStep step, ref bool completedSynchronously) { 2195Exception error = null; 2220catch (Exception e) { 2282private void ResumeStepsFromThreadPoolThread(Exception error) { 2294ResumeSteps(error as Exception); 2297private void ResumeSteps(Exception error) { 2305private void RecordError(Exception error) { 2434catch (Exception e) { 2436Exception error = context.Error; 3134Exception error = null; 3142} catch (Exception e) { 3185void ResumeStepsWithAssert(Exception error) { 3189void ResumeSteps(Exception error) { 3434Exception error = null; 3452catch (Exception e) { 3503void ResumeStepsWithAssert(Exception error) { 3507void ResumeSteps(Exception error) { 3801internal abstract void ResumeSteps(Exception error); 3870internal override void ResumeSteps(Exception error) { 3893catch (Exception e) { 4070internal override void ResumeSteps(Exception error) { 4338private Exception ValidateHelper(HttpContext context) { 4344catch(Exception e) { 4353catch(Exception e) { 4374public bool RegisterAsyncCompletion(Exception error) {
HttpApplicationFactory.cs (3)
140Exception error = null; 532private void FireApplicationOnError(Exception error) { 636internal static void RaiseError(Exception error) {
HttpAsyncResult.cs (5)
26private Exception _error; 46bool completed, Object result, Exception error) { 68internal void Complete(bool synchronous, Object result, Exception error, RequestNotificationStatus status) { 87internal void Complete(bool synchronous, Object result, Exception error) { 124internal Exception Error { get { return _error;}}
HttpContext.cs (13)
76private Exception _tempError; 624catch (Exception e) { 659catch (Exception e) { 1084Exception e = Error; 1135catch (Exception eReport) { 1140catch (Exception) { 1156public Exception Error { 1162return (Exception)_errors[0]; 1170internal Exception TempError { 1182public Exception[] AllErrors { 1189Exception[] errors = new Exception[n]; 1201public void AddError(Exception errorInfo) {
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 {
HttpRequest.cs (1)
396catch (Exception e) {
HttpResponse.cs (7)
748catch(Exception e) { 1161private void WriteErrorMessage(Exception e, bool dontShowSensitiveErrors) { 1245internal ErrorFormatter GetErrorFormatter(Exception e) { 1287private void WriteOneExceptionStack(Exception e) { 1288Exception subExcep = e.InnerException; 1301private void WriteExceptionStack(Exception e) { 1328internal void ReportRuntimeError(Exception e, bool canThrow, bool localExecute) {
HttpRuntime.cs (29)
237private Exception _initializationError; 340catch (Exception e) { 390private void HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) { 430Exception configInitException; 546catch (Exception e) { 558internal static Exception InitializationException { 579internal static void InitializeHostingFeatures(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) { 617Exception error = null; 679catch (Exception e) { 766out Exception initException) { 783catch (Exception e) { 792catch (Exception e) { 808catch (Exception e) { 824catch (Exception e) { 840catch (Exception e) { 856catch (Exception e) { 951catch (Exception e) { 1508catch (Exception e) { 1552catch(Exception e) { 1705catch (Exception e) { 1730catch (Exception e) { 1747private void FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e) { 1762catch (Exception eFlush) { 1793catch (Exception eReport) { 1829catch (Exception ex) { 1897catch (Exception e) { 2047catch(Exception e) { 2068catch (Exception e) { 2098catch (Exception e) {
httpserverutility.cs (7)
31internal abstract ErrorFormatter GetErrorFormatter(Exception e); 237public Exception GetLastError() { 389catch (Exception e) { 424VirtualPath path, VirtualPath filePath, string physPath, Exception error, string queryStringOverride) { 570catch (Exception e) { 605catch (Exception e) { 623catch (Exception e) {
ImplicitAsyncPreloadModule.cs (2)
109Exception error = null; 123catch(Exception e) {
LegacyAspNetSynchronizationContext.cs (1)
64catch (Exception e) {
Management\EventlogProvider.cs (1)
118void AddExceptionDataFields(ArrayList dataFields, Exception exception) {
Management\MailWebEventProvider.cs (1)
131catch (Exception e) {
Management\regiisutil.cs (7)
85catch (Exception e) { 125catch (Exception e) 193} catch (Exception e) { 200private void GetExceptionMessage(Exception exception, StringBuilder sb) { 283catch (Exception e) { 307catch (Exception e) { 438catch (Exception e) {
Management\SqlServices.cs (3)
67public SqlExecutionException(string message, Exception innerException) 444catch (Exception e) { 735catch (Exception e) {
Management\SqlWebEventProvider.cs (1)
121Exception exception = null;
Management\TemplatedMailWebEventProvider.cs (3)
41internal override ErrorFormatter GetErrorFormatter(Exception e) { 42Exception inner = e.InnerException; 388internal TemplatedMailRuntimeErrorFormatter(Exception e, int eventsRemaining,
Management\webeventbuffer.cs (1)
530catch (Exception e) {
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) {
Management\wmiprovider.cs (1)
203Exception exception = ((WebBaseErrorEvent)eventRaised).ErrorException;
ModelBinding\ModelError.cs (3)
7public ModelError(Exception exception) 11public ModelError(Exception exception, string errorMessage) 24public Exception Exception {
ModelBinding\ModelErrorCollection.cs (1)
8public void Add(Exception exception) {
ModelBinding\ModelStateDictionary.cs (1)
74public void AddModelError(string key, Exception exception) {
ModelBinding\MutableObjectModelBinder.cs (1)
211catch (Exception ex) {
ModelBinding\TypeConverterModelBinder.cs (2)
22catch (Exception ex) { 41private static bool IsFormatException(Exception ex) {
ModelBinding\ValueProviderResult.cs (1)
84catch (Exception ex) {
NotificationContext.cs (1)
21internal Exception Error;
OutputCacheModule.cs (2)
250catch (Exception e) { 825catch (Exception e) {
PartitionResolver.cs (1)
66catch (Exception e) {
PerfCounters.cs (1)
82catch (Exception e) {
Profile\HttpProfileBase.cs (3)
471catch (Exception e) { 499catch (Exception e) { 657private static Exception s_InitializeException = null;
Profile\ProfileManager.cs (2)
341catch (Exception e) { 398private static Exception s_InitException;
RootedObjects.cs (1)
141catch (Exception e) {
Routing\RouteParser.cs (6)
79Exception ex = ValidateUrlParts(urlParts); 93private static IList<PathSubsegment> ParseUrlSegment(string segment, out Exception exception) { 165Exception exception; 209private static Exception ValidateUrlParts(IList<string> pathSegments) { 248Exception exception; 266private static Exception ValidateUrlSegment(IList<PathSubsegment> pathSubsegments, HashSet<string> usedParameterNames, string pathSegment) {
Security\Cryptography\MachineKeyCryptoAlgorithmFactory.cs (2)
112Exception factoryCreationException = null; 122catch (Exception ex) {
Security\Cryptography\MachineKeyDataProtectorFactory.cs (2)
45Exception factoryCreationException = null; 56catch (Exception ex) {
Security\FileAuthorizationModule.cs (1)
275} catch (Exception e){
Security\Membership.cs (2)
408} catch (Exception e) { 620private static Exception s_InitializeException = null;
Security\Roles.cs (2)
517} catch (Exception e) { 589private static Exception s_InitializeException = null;
State\SessionStateModule.cs (2)
1184Exception error = null; 1216catch (Exception e) {
State\sqlstateclientmanager.cs (8)
192catch (Exception e) { 391internal static void ThrowSqlConnectionException(SqlConnection conn, Exception e) { 503} catch(Exception e) { 905catch (Exception e) { 936catch (Exception e) { 1045catch (Exception e) { 1229catch (Exception e) { 1247void ClearConnectionAndThrow(Exception e) {
UI\ClientScriptManager.cs (1)
207catch (Exception ex) {
UI\ControlBuilder.cs (6)
2162catch (Exception e) { 2195catch (Exception ex) { 2234catch (Exception e) { 2255catch (Exception e) { 2344catch (Exception e) { 2484catch (Exception e) {
UI\DataSourceView.cs (4)
132catch (Exception ex) { 156catch (Exception ex) { 260catch (Exception ex) { 307catch (Exception ex) {
UI\DataSourceViewOperationDelegates.cs (1)
14public delegate bool DataSourceViewOperationCallback(int affectedRecords, Exception ex);
UI\DesignTimeTemplateParser.cs (1)
150} catch (Exception e) {
UI\HiddenFieldPageStatePersister.cs (1)
37catch (Exception e) {
UI\HtmlControls\HtmlControl.cs (1)
265catch (Exception e) {
UI\LegacyPageAsyncTask.cs (4)
34private Exception _error; 82internal Exception Error { 107catch (Exception e) { 218catch (Exception e) {
UI\LegacyPageAsyncTaskManager.cs (1)
67private Exception AnyTaskError {
UI\ObjectStateFormatter.cs (6)
325Exception deserializationException = null; 342catch (Exception e) { 474catch (Exception exception) { 654catch (Exception exception) { 689catch (Exception exception) { 1192catch (Exception serializationException) {
UI\Page.cs (19)
1082} catch (Exception e) { 1555private bool HandleError(Exception e) { 2122internal bool ShouldSuppressMacValidationException(Exception e) { 4550catch (Exception e) { 4905catch (Exception e) { 5226catch (Exception e) { 5324catch (Exception e) { 5360catch (Exception e) { 5421catch (Exception e) { 5767private Exception _error; 5820catch (Exception e) { 5868catch (Exception e) { 5882catch (Exception e2) { 5906catch (Exception e) { 5916catch (Exception e) { 5953catch (Exception e) { 5979internal void SetError(Exception error) { 6045catch (Exception ex) { 6084catch (Exception e) {
UI\SessionPageStatePersister.cs (1)
78catch (Exception e) {
UI\SimpleWebHandlerParser.cs (3)
187catch (Exception e) { 207catch (Exception e) { 472catch (Exception e) {
UI\SkinBuilder.cs (2)
69catch (Exception e) { 153catch (Exception e) {
UI\TagNameToTypeMapper.cs (3)
171Exception loadException = null; 319catch (Exception e) { 413catch (Exception e) {
UI\TemplateControlParser.cs (2)
181catch (Exception ex) { 253catch (Exception e) {
UI\TemplateParser.cs (13)
234protected void ProcessException(Exception ex) { 823Exception originalException = firstError.Exception; 848catch (Exception e) { 1006catch(Exception e) { 1032catch(Exception ex) { 1108catch (Exception ex) { 1332catch (Exception e) { 1865catch (Exception e) { 1975catch (Exception ex) { 2023catch (Exception ex) { 2042catch (Exception ex) { 2767catch (Exception ex) { 2811catch (Exception e) {
UI\TraceContext.cs (3)
219public void Write(string category, string message, Exception errorInfo) { 255public void Warn(string category, string message, Exception errorInfo) { 264void Write(string category, string message, Exception errorInfo, bool isWarning, bool writeToDiagnostics) {
UI\TraceContextRecord.cs (3)
14private Exception _errorInfo; 18public TraceContextRecord(string category, string msg, bool isWarning, Exception errorInfo) { 31public Exception ErrorInfo {
UI\ViewStateException.cs (6)
44private ViewStateException(string message, Exception e) {} 46private ViewStateException(Exception innerException, string persistedState): 103private static void ThrowError(Exception inner, string persistedState, string errorPageMessage, 119internal static void ThrowMacValidationError(Exception inner, string persistedState) { 123internal static void ThrowViewStateError(Exception inner, string persistedState) { 128internal static bool IsMacValidationException(Exception e) {
UI\WebControls\AdRotator.cs (2)
469catch (Exception e) { 582catch (Exception e) {
UI\WebControls\DetailsView.cs (4)
2341private bool HandleDeleteCallback(int affectedRows, Exception ex) { 2477private bool HandleCommandCallback(int affectedRows, Exception ex) { 2528private bool HandleInsertCallback(int affectedRows, Exception ex) { 2663private bool HandleUpdateCallback(int affectedRows, Exception ex) {
UI\WebControls\DetailsViewDeletedEventArgs.cs (3)
19private Exception _exception; 29public DetailsViewDeletedEventArgs(int affectedRows, Exception e) { 49public Exception Exception {
UI\WebControls\DetailsViewInsertedEventArgs.cs (3)
20private Exception _exception; 30public DetailsViewInsertedEventArgs(int affectedRows, Exception e) { 51public Exception Exception {
UI\WebControls\DetailsViewUpdatedEventArgs.cs (3)
19private Exception _exception; 31public DetailsViewUpdatedEventArgs(int affectedRows, Exception e) { 52public Exception Exception {
UI\WebControls\FormView.cs (4)
1971private bool HandleDeleteCallback(int affectedRows, Exception ex) { 2108private bool HandleCommandCallback(int affectedRows, Exception ex) { 2159private bool HandleInsertCallback(int affectedRows, Exception ex) { 2293private bool HandleUpdateCallback(int affectedRows, Exception ex) {
UI\WebControls\FormViewDeletedEventArgs.cs (3)
19private Exception _exception; 29public FormViewDeletedEventArgs(int affectedRows, Exception e) { 49public Exception Exception {
UI\WebControls\FormViewInsertedEventArgs.cs (3)
19private Exception _exception; 29public FormViewInsertedEventArgs(int affectedRows, Exception e) { 50public Exception Exception {
UI\WebControls\FormViewUpdatedEventArgs.cs (3)
19private Exception _exception; 31public FormViewUpdatedEventArgs(int affectedRows, Exception e) { 52public Exception Exception {
UI\WebControls\GridView.cs (3)
2885private bool HandleDeleteCallback(int affectedRows, Exception ex) { 3081private bool HandleCommandCallback(int affectedRows, Exception ex) { 3234private bool HandleUpdateCallback(int affectedRows, Exception ex) {
UI\WebControls\GridViewDeletedEventArgs.cs (3)
23private Exception _exception; 32public GridViewDeletedEventArgs(int affectedRows, Exception e) { 50public Exception Exception {
UI\WebControls\GridViewUpdatedEventArgs.cs (3)
22private Exception _exception; 33public GridViewUpdatedEventArgs(int affectedRows, Exception e) { 52public Exception Exception {
UI\WebControls\LoginUtil.cs (2)
158catch (Exception e) { 183} catch (Exception e) {
UI\WebControls\ModelDataSourceView.cs (1)
846catch (Exception ex) {
UI\WebControls\ObjectDataSourceStatusEventArgs.cs (3)
20private Exception _exception; 34public ObjectDataSourceStatusEventArgs(object returnValue, IDictionary outputParameters, Exception exception) : base() { 54public Exception Exception {
UI\WebControls\ObjectDataSourceView.cs (1)
1671catch (Exception ex) {
UI\WebControls\RegularExpressionValidator.cs (1)
49catch (Exception e) {
UI\WebControls\SendMailErrorEventArgs.cs (3)
11private Exception _exception; 15public SendMailErrorEventArgs(Exception e) { 23public Exception Exception {
UI\WebControls\SqlDataSourceStatusEventArgs.cs (3)
17private Exception _exception; 23public SqlDataSourceStatusEventArgs(DbCommand command, int affectedRows, Exception exception) : base() { 48public Exception Exception {
UI\WebControls\SqlDataSourceView.cs (5)
678private Exception BuildCustomException(Exception ex, DataSourceOperation operation, DbCommand command, out bool isCustomException) { 749catch (Exception ex) { 1037catch (Exception ex) { 1106catch (Exception ex) {
UI\WebParts\AppearanceEditorPart.cs (6)
76catch (Exception e) { 85catch (Exception e) { 94catch (Exception e) { 124catch (Exception e) { 155catch (Exception e) { 165catch (Exception e) {
UI\WebParts\BehaviorEditorPart.cs (15)
111catch (Exception e) { 120catch (Exception e) { 128catch (Exception e) { 137catch (Exception e) { 146catch (Exception e) { 155catch (Exception e) { 163catch (Exception e) { 170catch (Exception e) { 182catch (Exception e) { 195catch (Exception e) { 208catch (Exception e) { 221catch (Exception e) { 229catch (Exception e) { 236catch (Exception e) { 243catch (Exception e) {
UI\WebParts\BlobPersonalizationState.cs (3)
449Exception deserializationException = null; 477catch (Exception e) { 555catch (Exception e) {
UI\WebParts\LayoutEditorPart.cs (2)
106catch (Exception e) { 134catch (Exception e) {
UI\WebParts\PropertyGridEditorPart.cs (1)
129catch (Exception e) {
UI\WebParts\WebPartManager.cs (1)
2917catch (Exception e) {
Util\altserialization.cs (1)
156} catch (Exception innerException) {
Util\AppVerifier.cs (2)
394catch (Exception ex) { 401beginHandlerReturnValueHolder = new Holder<Exception>(ex);
Util\AspCompat.cs (2)
149private Exception _error; // error during the execution 342Exception error = _app.ExecuteStep(this, ref sync);
Util\Debug.cs (4)
717internal static void Trace(string tagName, string message, Exception e) { 730internal static void Trace(string tagName, Exception e) { 743internal static void Trace(string tagName, string message, Exception e, bool includePrefix) { 755public static void TraceException(String tagName, Exception e) {
Util\Misc.cs (4)
40internal static void WriteUnhandledExceptionToEventLog(AppDomain appDomain, Exception exception) { 66internal static void ReportUnhandledException(Exception e, String[] strings) { 70internal static String FormatExceptionMessage(Exception e, String[] strings) { 75for (Exception current = e; current != null; current = current.InnerException) {
Util\ProviderUtil.cs (3)
44catch (Exception e){ 84catch (Exception e){ 125catch (Exception e){
Util\SmtpMail.cs (6)
78catch (Exception e) { 91private static Exception GetInnerMostException(Exception e) { 102catch (Exception e) { 119catch (Exception e) { 138catch (Exception e) {
Util\SynchronizationHelper.cs (2)
161catch (Exception ex) { 198catch (Exception ex) {
Util\Transactions.cs (3)
174private Exception _error; 189catch (Exception e) { 197internal Exception Error {
WebSocketPipeline.cs (2)
63catch (Exception ex) { 151catch (Exception ex) {
WebSockets\WebSocketPipe.cs (3)
51catch (Exception ex) { 94catch (Exception ex) { 152catch (Exception ex) {
XmlSiteMapProvider.cs (1)
275catch (Exception e) {
System.Web.ApplicationServices (4)
Security\MembershipCreateUserException.cs (1)
33public MembershipCreateUserException(String message, Exception innerException)
Security\MembershipPasswordException.cs (1)
29public MembershipPasswordException(String message, Exception innerException) : base(message, innerException)
Security\ValidatePasswordEventArgs.cs (2)
23private Exception _failureInformation; 57public Exception FailureInformation
System.Web.DataVisualization (60)
Common\DataManager\DataManager.cs (2)
1014 catch(System.Exception) 1075 catch(System.Exception)
Common\DataManager\DataPoint.cs (1)
2414 catch(System.Exception)
Common\Formulas\Oscillator.cs (1)
188 catch( Exception e )
Common\Formulas\PriceIndicators.cs (8)
143 catch( Exception e ) 318 catch( Exception e ) 462 catch( Exception e ) 545 catch( Exception e ) 688 catch( Exception e ) 703 catch(System.Exception) 964 catch( Exception e ) 979 catch(System.Exception)
Common\Formulas\StatisticalAnalysis.cs (27)
188 catch(System.Exception) 455 catch(System.Exception) 593 catch(System.Exception) 608 catch(System.Exception) 618 catch(System.Exception) 628 catch(System.Exception) 748 catch(System.Exception) 763 catch(System.Exception) 924 catch(System.Exception) 939 catch(System.Exception) 1051 catch(System.Exception) 1062 catch(System.Exception) 1073 catch(System.Exception) 1121 catch(System.Exception) 1132 catch(System.Exception) 1143 catch(System.Exception) 1182 catch(System.Exception) 1225 catch(System.Exception) 1236 catch(System.Exception) 1284 catch(System.Exception) 1295 catch(System.Exception) 1306 catch(System.Exception) 1350 catch(System.Exception) 1653 catch(System.Exception) 1737 catch(System.Exception) 1748 catch(System.Exception) 1790 catch(System.Exception)
Common\Formulas\TechGeneralIndicators.cs (1)
83 catch( Exception e )
Common\Formulas\VolumeIndicator.cs (3)
149 catch( Exception e ) 364 catch(System.Exception) 434 catch(System.Exception)
Common\General\Chart.cs (2)
2006 catch(System.Exception) 3502catch (Exception ex)
Common\General\ChartAreaAxes.cs (3)
1079 catch(System.Exception) 1155 catch(System.Exception) 1503catch (Exception e)
Common\General\DataManipulator.cs (4)
342 catch(System.Exception) 1575 catch(System.Exception) 1593 catch(System.Exception) 3160 catch(System.Exception)
Common\General\FormulaData.cs (3)
636catch (System.Exception) 656catch (System.Exception) 785catch (System.Exception)
WebForm\General\ChartHttpHandler.cs (5)
235catch (Exception) 1126catch (Exception exception) 1220catch (Exception exception) 1235Exception thrown = null; 2084internal static void TraceWrite( string message, Exception errorInfo)
System.Web.DynamicData (12)
DynamicData\DynamicHyperLink.cs (1)
205} catch (Exception exception) {
DynamicData\DynamicValidator.cs (6)
23private Exception _exception; 67protected virtual Exception ValidationException { 96Exception e = ValidationException; 143} catch (Exception) { 206protected virtual void ValidateException(Exception exception) { 244Exception inner;
DynamicData\FilterRepeater.cs (1)
155} catch (Exception e) {
DynamicData\FilterUserControlBase.cs (1)
203} catch (Exception e) {
DynamicData\MetaModel.cs (3)
30private static Exception s_registrationException; 184catch (Exception e) { 260catch (Exception e) {
System.Web.Entity (35)
System\Data\WebControls\EntityDataSourceChangedEventArgs.cs (3)
21private readonly Exception _exception = null; 31internal EntityDataSourceChangedEventArgs(Exception exception) 36public Exception Exception
System\Data\WebControls\EntityDataSourceChangingEventArgs.cs (3)
21private readonly Exception _exception = null; 31internal EntityDataSourceChangingEventArgs(Exception exception) 36public Exception Exception
System\Data\WebControls\EntityDataSourceSelectedEventArgs.cs (3)
22private readonly Exception _exception = null; 39internal EntityDataSourceSelectedEventArgs(Exception exception) 44public Exception Exception
System\Data\WebControls\EntityDataSourceUtil.cs (4)
549catch (Exception) // ConvertFromString sometimes throws exceptions of actual type Exception! 628catch(Exception ex) 677Dictionary<string, Exception> exceptions = null; 1075static private bool IsCatchableExceptionType(Exception e)
System\Data\WebControls\EntityDataSourceValidationException.cs (8)
53public EntityDataSourceValidationException(string message, Exception innerException) 64internal EntityDataSourceValidationException(string message, Dictionary<string, Exception> innerExceptions) 74private void InitializeExceptionState(Dictionary<string, Exception> innerExceptions) 83IDictionary<string, Exception> IDynamicValidatorException.InnerExceptions 105private readonly Dictionary<string, Exception> _innerExceptions; 111public EntityDataSourceValidationExceptionState(Dictionary<string, Exception> innerExceptions) 113_innerExceptions = innerExceptions ?? new Dictionary<string, Exception>(); 119public Dictionary<string, Exception> InnerExceptions
System\Data\WebControls\EntityDataSourceView.cs (10)
371catch (Exception e) 530catch (Exception e) 547catch (Exception e) 570catch (Exception e) 649catch (Exception e) 717catch (Exception e) 856ref Dictionary<string, Exception> exceptions) 871catch (Exception e) 875exceptions = new Dictionary<string, Exception>(); 885Dictionary<string, Exception> exceptions = null;
System\Data\WebControls\EntityDataSourceWrapper.cs (4)
112ref Dictionary<string, Exception> propertySettingExceptionsCaught) 154catch (Exception e) 157Exception exceptionToThrow = e; 164propertySettingExceptionsCaught = new Dictionary<string, Exception>();
System.Web.Entity.Design (5)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (5)
404catch (Exception) 628catch (Exception ex) 984catch (Exception ex) 1007catch (Exception) 1158catch (Exception ex)
System.Web.Extensions (117)
ApplicationServices\AuthenticationService.cs (2)
173catch (Exception e) { 189private void LogException(Exception e) {
ApplicationServices\ProfileService.cs (6)
79catch (Exception e) { 105catch (Exception e) { 145catch (Exception e) { 230catch (Exception e) { 253catch (Exception e) { 312private void LogException(Exception e) {
ApplicationServices\RoleService.cs (3)
76catch (Exception e) { 98catch (Exception e) { 104private void LogException(Exception e) {
Compilation\WCFBuildProvider.cs (4)
183catch (Exception ex) 243catch (Exception ex) 629void IContractGeneratorReferenceTypeLoader.LoadAllAssemblies(out IEnumerable<System.Reflection.Assembly> loadedAssemblies, out IEnumerable<Exception> loadingErrors) 632loadingErrors = new System.Exception[] {};
Compilation\WCFModel\ExternalFile.cs (2)
43private Exception m_ErrorInLoading; 69public Exception ErrorInLoading
Compilation\WCFModel\IContractGeneratorReferenceTypeLoader.cs (1)
35void LoadAllAssemblies(out IEnumerable<Assembly> loadedAssemblies, out IEnumerable<Exception> loadingErrors);
Compilation\WCFModel\MapFileLoader.cs (2)
129catch (Exception ex) 145catch (Exception ex)
Compilation\WCFModel\MetadataFile.cs (5)
298public Exception MetadataFormatError 650catch (Exception ex) 768private Exception m_MetadataFormatError; 801internal MetadataContent(Exception metadataFormatError) 824public Exception MetadataFormatError
Compilation\WCFModel\ProxyGenerationError.cs (2)
59public ProxyGenerationError(GeneratorState generatorState, string fileName, Exception errorException) 77public ProxyGenerationError(GeneratorState generatorState, string fileName, Exception errorException, bool isWarning)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (13)
442catch (Exception ex) 591catch (Exception ex) 874catch (Exception ex) 910catch (Exception ex) 939catch (Exception ex) 1129IEnumerable<Exception> loadingErrors = null; 1135foreach (Exception ex in loadingErrors) 1150catch (Exception ex) 1169catch (Exception ex) 1212catch (Exception ex) 1441catch (Exception ex) 1459internal static ProxyGenerationError ConvertMetadataErrorToProxyGenerationError(MetadataFile metadataItem, Exception ex) 1630catch (Exception ex)
DynamicData\DynamicValidatorEventArgs.cs (3)
8private Exception _exception; 10public DynamicValidatorEventArgs(Exception exception, DynamicDataSourceOperation operation) { 15public Exception Exception {
DynamicData\IDynamicValidatorException.cs (1)
10IDictionary<string, Exception> InnerExceptions { get; }
Handlers\ScriptResourceHandler.cs (5)
50private static Exception Create404(Exception innerException) { 274internal static void ProcessRequest(HttpContextBase context, VirtualFileReader fileReader = null, Action<string, Exception> logAction = null, bool validatePath = true) { 317} catch(Exception e) { 543private static void Throw404(Exception innerException) {
Management\WebServiceErrorEvent.cs (1)
16internal protected WebServiceErrorEvent(string message, object eventSource, Exception exception)
Script\Services\RestHandler.cs (4)
154catch (Exception e) { 198catch (Exception ex) { 211internal static void WriteExceptionJsonString(HttpContext context, Exception ex) { 215internal static void WriteExceptionJsonString(HttpContext context, Exception ex, int statusCode) {
UI\AsyncPostBackErrorEventArgs.cs (3)
12private readonly Exception _exception; 14public AsyncPostBackErrorEventArgs(Exception exception) { 21public Exception Exception {
UI\PageRequestManager.cs (5)
218private static Exception GetControlRegistrationException(Control control) { 232private static int GetHttpCodeForException(Exception e) { 418Exception ex = _owner.IPage.Server.GetLastError(); 575Exception ex = GetControlRegistrationException(control); 622Exception ex = GetControlRegistrationException(control);
UI\WebControls\DataSourceHelper.cs (5)
62IDictionary destination, IDictionary<string, Exception> validationErrors) { 67IDictionary destination, IDictionary destinationCopy, IDictionary<string, Exception> validationErrors) { 85catch (Exception e) { 131public static object BuildDataObject(Type dataObjectType, IDictionary inputParameters, IDictionary<string, Exception> validationErrors) { 148catch (Exception e) {
UI\WebControls\Dynamic.cs (3)
1382Exception IncompatibleOperandsError(string opName, Expression left, Expression right, int pos) { 2047Exception ParseError(string format, params object[] args) { 2051Exception ParseError(int pos, string format, params object[] args) {
UI\WebControls\Expressions\OfTypeExpression.cs (1)
65} catch (Exception e) {
UI\WebControls\LinqDataSourceStatusEventArgs.cs (3)
14private Exception _exception; 28public LinqDataSourceStatusEventArgs(Exception exception) { 32public Exception Exception {
UI\WebControls\LinqDataSourceValidationException.cs (8)
22private IDictionary<string, Exception> _innerExceptions; 30public LinqDataSourceValidationException(string message, Exception innerException) 34public LinqDataSourceValidationException(string message, IDictionary<string, Exception> innerExceptions) 41_innerExceptions = (IDictionary<string, Exception>) 42info.GetValue("InnerExceptions", typeof(IDictionary<string, Exception>)); 45public IDictionary<string, Exception> InnerExceptions { 48_innerExceptions = new Dictionary<string, Exception>(StringComparer.OrdinalIgnoreCase); 61info.AddValue("InnerExceptions", InnerExceptions, typeof(IDictionary<string, Exception>));
UI\WebControls\LinqDataSourceView.cs (12)
119catch (Exception e) { 390catch (Exception e) { 480catch (Exception e) { 544catch (Exception e) { 634protected override void HandleValidationErrors(IDictionary<string, Exception> errors, DataSourceOperation operation) { 688catch (Exception e) { 842private Dictionary<string, Exception> SetDataObjectProperties(object oldDataObject, object newDataObject) { 843Dictionary<string, Exception> validateExceptions = null; 852catch (Exception e) { 854validateExceptions = new Dictionary<string, Exception>(StringComparer.OrdinalIgnoreCase); 881Dictionary<string, Exception> validateExceptions = SetDataObjectProperties(oldDataObject, newDataObject); 903catch (Exception e) {
UI\WebControls\ListView.cs (4)
2231private bool HandleDeleteCallback(int affectedRows, Exception ex) { 2371private bool HandleCommandCallback(int affectedRows, Exception ex) { 2430private bool HandleInsertCallback(int affectedRows, Exception ex) { 2568private bool HandleUpdateCallback(int affectedRows, Exception ex) {
UI\WebControls\ListViewDeletedEventArgs.cs (3)
15private Exception _exception; 20public ListViewDeletedEventArgs(int affectedRows, Exception exception) { 38public Exception Exception {
UI\WebControls\ListViewInsertedEventArgs.cs (3)
15private Exception _exception; 20public ListViewInsertedEventArgs(int affectedRows, Exception exception) { 39public Exception Exception {
UI\WebControls\ListViewUpdatedEventArgs.cs (3)
15private Exception _exception; 22public ListViewUpdatedEventArgs(int affectedRows, Exception exception) { 41public Exception Exception {
UI\WebControls\QueryableDataSourceView.cs (10)
615protected QueryableDataSourceEditData BuildDeleteObject(IDictionary keys, IDictionary oldValues, IDictionary<string, Exception> validationErrors) { 653protected QueryableDataSourceEditData BuildInsertObject(IDictionary values, IDictionary<string, Exception> validationErrors) { 677protected QueryableDataSourceEditData BuildUpdateObjects(IDictionary keys, IDictionary values, IDictionary oldValues, IDictionary<string, Exception> validationErrors) { 749protected abstract void HandleValidationErrors(IDictionary<string, Exception> errors, DataSourceOperation operation); 752IDictionary<string, Exception> errors = new Dictionary<string, Exception>(StringComparer.OrdinalIgnoreCase); 766IDictionary<string, Exception> errors = new Dictionary<string, Exception>(StringComparer.OrdinalIgnoreCase); 778IDictionary<string, Exception> errors = new Dictionary<string, Exception>(StringComparer.OrdinalIgnoreCase);
System.Web.Mobile (34)
Mobile\DeviceFiltersSection.cs (2)
78catch (Exception e) { 321catch (Exception e) {
Mobile\ErrorHandlerModule.cs (3)
107Exception error = context.Server.GetLastError(); 123catch(Exception e2) 150private bool RequiresAdaptiveErrorReporting(HttpContext context, Exception error)
Mobile\MobileDeviceCapabilitiesSectionHandler.cs (2)
130catch(Exception e) 166catch(Exception e)
Mobile\MobileErrorInfo.cs (1)
50internal MobileErrorInfo(Exception e)
UI\MobileControls\Adapters\HtmlPageAdapter.cs (1)
371public virtual bool HandleError(Exception e, HtmlTextWriter writer)
UI\MobileControls\Adapters\WmlPageAdapter.cs (2)
199public virtual bool HandleError(Exception e, HtmlTextWriter writer) 208Exception ex;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (1)
332public virtual bool HandleError (Exception e, HtmlTextWriter writer) {
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (1)
368catch (Exception)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (1)
254catch (Exception e)
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (2)
136catch (Exception e) 487catch (Exception e)
UI\MobileControls\Design\ListGeneralPage.cs (3)
333catch (Exception) 348catch (Exception) 389catch (Exception)
UI\MobileControls\Design\MobileControlDesigner.cs (2)
293catch (Exception ex) 325protected override sealed String GetErrorDesignTimeHtml(Exception e)
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (2)
536catch (Exception ex) 558protected override sealed String GetErrorDesignTimeHtml(Exception e)
UI\MobileControls\Design\ObjectListGeneralPage.cs (2)
207catch (Exception) 222catch (Exception)
UI\MobileControls\Design\Util\FileReader.cs (1)
46catch(Exception e)
UI\MobileControls\Design\Util\MSHTMLHost.cs (3)
64catch (Exception e) { 373catch (Exception e) { 393catch (Exception e) {
UI\MobileControls\Design\Util\WebConfigManager.cs (1)
88catch (Exception ex)
UI\MobileControls\IPageAdapter.cs (1)
78bool HandleError(Exception e, HtmlTextWriter writer);
UI\MobileControls\MobilePage.cs (3)
1131catch (Exception e) { 1388Exception error = Server.GetLastError(); 1584private static bool IsViewStateException(Exception e) {
System.Web.Services (139)
System\Web\Services\Description\ProtocolImporter.cs (4)
414catch (Exception e) { 457catch (Exception e) { 540public Exception OperationSyntaxException(string text) { 552public Exception OperationBindingSyntaxException(string text) {
System\Web\Services\Description\ServiceDescription.cs (1)
2830catch (Exception e) {
System\Web\Services\Description\ServiceDescriptions.cs (1)
104Exception ItemNotFound(XmlQualifiedName name, string type) {
System\Web\Services\Description\SoapProtocolImporter.cs (1)
348catch (Exception e) {
System\Web\Services\Description\WebCodeGenerator.cs (1)
380ctor.Parameters.Add(new CodeParameterDeclarationExpression(typeof(Exception), "exception"));
System\Web\Services\Description\WebReferenceOptions.cs (1)
147catch (Exception e) {
System\Web\Services\Diagnostics\TraceUtility.cs (15)
96Exception e = (Exception)args.ExceptionObject; 143internal static Exception ExceptionThrow(TraceMethod method, Exception e) { 147internal static Exception ExceptionThrow(TraceEventType eventType, TraceMethod method, Exception e) { 158internal static Exception ExceptionCatch(TraceMethod method, Exception e) { 162internal static Exception ExceptionCatch(TraceEventType eventType, TraceMethod method, Exception e) { 172internal static Exception ExceptionCatch(TraceEventType eventType, object target, string method, Exception e) { 182internal static Exception ExceptionIgnore(TraceEventType eventType, TraceMethod method, Exception e) { 192static void StackTrace(TraceEventType eventType, Exception e) {
System\Web\Services\Discovery\ContractReference.cs (4)
111catch (Exception e) { 236catch (Exception e) { 251catch (Exception e) { 268catch (Exception e) {
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (8)
130Exception errorInValidDocument = null; 139Exception e = discoRef.AttemptResolve(contentType, stream); 181Exception e; 184e = (Exception)(entry.Value); 245catch (Exception e) { 397catch (Exception e) { 410catch (Exception e) { 438catch (Exception e) {
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (2)
221Exception exception; 269catch (Exception e) {
System\Web\Services\Discovery\DiscoveryExceptionDictionary.cs (3)
24public Exception this[string url] { 26return (Exception) Dictionary[url]; 55public void Add(string url, Exception value) {
System\Web\Services\Discovery\DiscoveryReference.cs (2)
152internal Exception AttemptResolve(string contentType, Stream stream) { 157catch (Exception e) {
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
130catch (Exception e) {
System\Web\Services\Discovery\InvalidDocumentContentsException.cs (1)
12internal InvalidDocumentContentsException(string message, Exception inner) : base(message, inner) {
System\Web\Services\Discovery\SchemaReference.cs (3)
92catch (Exception e) { 199throw (Exception)ClientProtocol.Errors[Url]; 217catch (Exception e) {
System\Web\Services\Protocols\ClientProtocol.cs (11)
255static private void ProcessAsyncException(WebClientAsyncResult client, Exception e, string method) { 287catch (Exception e) { 313catch (Exception e) { 334catch (Exception e) { 393catch (Exception e) { 544internal Exception Exception; 613catch (Exception e) { 628catch (Exception e) { 644internal void Complete(Exception e) { 677internal InvokeCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : 897internal WebClientAsyncResult OperationCompleted(object userState, object[] parameters, Exception e, bool canceled) {
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (1)
338internal override bool WriteException(Exception e, Stream outputStream) {
System\Web\Services\Protocols\DocumentationServerProtocol.cs (2)
198catch (Exception e) { 206internal override bool WriteException(Exception e, Stream outputStream) {
System\Web\Services\Protocols\HttpClientProtocol.cs (6)
50catch (Exception e) { 246Exception exception = null; 256catch (Exception e) { 287catch (Exception e) { 291Exception exception = new ArgumentException(Res.GetString(Res.AsyncDuplicateUserState), e); 308catch (Exception e) {
System\Web\Services\Protocols\HttpServerProtocol.cs (1)
219internal override bool WriteException(Exception e, Stream outputStream) {
System\Web\Services\Protocols\PatternMatcher.cs (2)
147static Exception BadCaptureIndexException(int index, string matchName, int highestIndex) { 151static Exception BadGroupIndexException(int index, string matchName, int highestIndex) {
System\Web\Services\Protocols\RemoteDebugger.cs (8)
54catch (Exception e) { 76catch (Exception e) { 143catch (Exception e) { 166catch (Exception e) { 208catch (Exception e) { 237catch (Exception e) { 276catch (Exception e) { 313catch (Exception e) {
System\Web\Services\Protocols\RequestResponse.cs (2)
50catch (Exception ex) 75catch (Exception ex)
System\Web\Services\Protocols\Scalars.cs (1)
40catch (Exception e) {
System\Web\Services\Protocols\ServerProtocol.cs (7)
88internal virtual bool WriteException(Exception e, Stream outputStream) { 99internal virtual Exception OnewayInitException { get { return null; } } 109internal string GenerateFaultString(Exception e) { 121internal string GenerateFaultString(Exception e, bool htmlEscapeMessage) { 134for (Exception inner = e; inner != null; inner = inner.InnerException) { 144static void GenerateFaultString(Exception e, StringBuilder builder) { 313catch (Exception e) {
System\Web\Services\Protocols\Soap11ServerProtocol.cs (1)
65catch (Exception e) {
System\Web\Services\Protocols\SoapClientProtocol.cs (5)
391Exception exception = null; 406catch (Exception e) { 443catch (Exception e) { 447Exception exception = new ArgumentException(Res.GetString(Res.AsyncDuplicateUserState), e); 455catch (Exception e) {
System\Web\Services\Protocols\SoapException.cs (14)
92/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to <paramref name="message"/>, <see cref='System.Web.Services.Protocols.SoapException.Code'/> to 102/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to 105/// "/>and <see cref='System.Exception.InnerException'/> to <paramref name="innerException"/> .</para> 107public SoapException(string message, XmlQualifiedName code, string actor, Exception innerException) : base(message, innerException) { 114/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to 125/// <para>Initializes a new instance of the <see cref='System.Web.Services.Protocols.SoapException'/> class, setting <see cref='System.Exception.Message'/> to 127/// <see cref='System.Exception.InnerException'/> 130public SoapException(string message, XmlQualifiedName code, Exception innerException) : base(message, innerException) { 148public SoapException(string message, XmlQualifiedName code, string actor, System.Xml.XmlNode detail, Exception innerException) : base(message, innerException) { 167public SoapException(string message, XmlQualifiedName code, string actor, string role, System.Xml.XmlNode detail, SoapFaultSubCode subCode, Exception innerException) : base(message, innerException) { 179public SoapException(string message, XmlQualifiedName code, string actor, string role, string lang, System.Xml.XmlNode detail, SoapFaultSubCode subCode, Exception innerException) : base(message, innerException) { 293static SoapException CreateSuppressedException(SoapProtocolVersion soapVersion, string message, Exception innerException) { 302SoapFaultSubCode subCode, Exception innerException) { 310internal static SoapException Create(SoapProtocolVersion soapVersion, string message, XmlQualifiedName code, Exception innerException) {
System\Web\Services\Protocols\SoapHeaderException.cs (4)
41public SoapHeaderException(string message, XmlQualifiedName code, string actor, Exception innerException) 57public SoapHeaderException(string message, XmlQualifiedName code, Exception innerException) 62public SoapHeaderException(string message, XmlQualifiedName code, string actor, string role, SoapFaultSubCode subCode, Exception innerException) 67public SoapHeaderException(string message, XmlQualifiedName code, string actor, string role, string lang, SoapFaultSubCode subCode, Exception innerException)
System\Web\Services\Protocols\SoapReflector.cs (2)
521catch (Exception e) { 546static Exception HeaderException(string memberName, Type declaringType, string description) {
System\Web\Services\Protocols\SoapServerProtocol.cs (12)
231Exception onewayInitException; 325Exception extensionException = null; 350catch (Exception e) { 370catch (Exception e) { 394catch (Exception e) { 474internal override Exception OnewayInitException { 655catch (Exception e) { 720internal override bool WriteException(Exception e, Stream outputStream) { 756catch (Exception ex) { 772catch (Exception ex) { 800catch (Exception ex) 941for (Exception inner = soapException; inner != null; inner = inner.InnerException) {
System\Web\Services\Protocols\WebServiceHandler.cs (10)
32Exception exception; 79void WriteException(Exception e) { 112catch (Exception e) { 140void HandleOneWayException(Exception e, string method) { 176catch (Exception e) { 203catch (Exception e) { 220catch (Exception e) { 275catch (Exception e) { 302catch (Exception e) { 338catch (Exception e) {
System\Web\Services\Protocols\WebServiceHandlerFactory.cs (2)
101catch (Exception e) { 188internal override bool WriteException(Exception e, Stream outputStream) { return false; }
System.Windows.Forms (272)
misc\ClientUtils.cs (2)
37public static bool IsCriticalException(Exception ex) { 49public static bool IsSecurityOrCriticalException(Exception ex) {
misc\DbgUtil.cs (3)
250catch( Exception ex) 266private static bool IsCriticalException( Exception ex ) 360catch( Exception ex )
misc\GDI\WindowsGraphics.cs (1)
288catch(Exception ex )
misc\MultitargetUtil.cs (2)
32catch (Exception e) 53private static bool IsSecurityOrCriticalException(Exception ex)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (2)
918catch (Exception e) 989catch (Exception e)
winforms\Managed\System\Resources\ResXDataNode.cs (2)
391catch (Exception ex) { 624} catch (Exception ex) { // it'd be better to catch SerializationException but the underlying type resolver
winforms\Managed\System\Resources\ResXResourceReader.cs (1)
424catch (Exception e) {
winforms\Managed\System\WinForms\Application.cs (6)
246catch (Exception ex) { 412catch (Exception ex) { 704catch (Exception ex) { 1344public static void OnThreadException(Exception t) { 3234internal void OnThreadException(Exception t) { 3684catch (Exception e) {
winforms\Managed\System\WinForms\AxHost.cs (40)
1193catch (Exception t) { 1818catch (Exception t) { 1838catch(Exception e) { 1943catch (Exception t) { 2130catch (Exception t) { 2249catch (Exception e) { 2550catch (Exception t) { 2577catch (Exception t) { 2654catch (Exception t) { 2694catch (Exception t) { 3116catch (Exception e1) { 3133catch (Exception e2) { 3144catch (Exception e1) { 3160catch (Exception e) { 3170catch (Exception e) { 3186catch (Exception e) { 3200catch (Exception e) { 3234catch (Exception t) { 3246catch (Exception t) { 3315catch (Exception t) { 3394catch (Exception t) { 3783catch (Exception ex) { 3795catch (Exception ex) { 4232catch (Exception t) { 4286catch (Exception t) { 4403catch (Exception t) { 4474catch (Exception t) { 4495catch (Exception t) { 4954catch (Exception e) { 5016catch(Exception e) { 6645catch (Exception e) { 6659catch (Exception e) { 6716catch (Exception t) { 6861catch (Exception e) { 6940catch (Exception t) { 7089catch (Exception t) { 7107catch (Exception e) { 7303catch (Exception e) { 7331catch (Exception ex1) { 7466catch (Exception ex) {
winforms\Managed\System\WinForms\Binding.cs (7)
621private BindingCompleteEventArgs CreateBindingCompleteEventArgs(BindingCompleteContext context, Exception ex) { 656catch (Exception ex) { 860Exception lastException = null; 896catch (Exception ex) { 937catch (Exception ex) { 991Exception lastException = null; 1016catch (Exception ex) {
winforms\Managed\System\WinForms\BindingCompleteEventArgs.cs (4)
21private Exception exception; 31Exception exception, 48Exception exception) : this(binding, state, context, errorText, exception, true) { 109public Exception Exception
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (1)
83internal protected void OnDataError(Exception e) {
winforms\Managed\System\WinForms\BindingManagerDataErrorEventArgs.cs (3)
16private Exception exception; 21public BindingManagerDataErrorEventArgs(Exception exception) { 28public Exception Exception
winforms\Managed\System\WinForms\BindingSource.cs (1)
697Exception instanceException = null;
winforms\Managed\System\WinForms\Clipboard.cs (1)
511catch (Exception e) {
winforms\Managed\System\WinForms\ComboBox.cs (1)
3990catch (Exception e) {
winforms\Managed\System\WinForms\CommonDialog.cs (1)
218catch (Exception e) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\BaseCAMarshaler.cs (2)
95catch (Exception ex) { 130catch (Exception ex) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (2)
77Exception failureException; 102catch (Exception ex1) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (4)
213catch (Exception ex) { 220catch (Exception ex) { 246catch (Exception ex) { 253catch (Exception ex) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (1)
330catch (Exception ex) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
751catch (Exception ex) { 799catch (Exception ex) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (1)
66catch (Exception ex1) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (2)
567catch (Exception ex) { 800catch (Exception ex) {
winforms\Managed\System\WinForms\ContainerControl.cs (2)
1505catch (Exception e) { 1569catch (Exception e) {
winforms\Managed\System\WinForms\Control.cs (25)
4433Exception ex = new System.ObjectDisposedException(GetType().Name); 5967Exception ex = new System.ObjectDisposedException(GetType().Name); 6127catch (Exception e) { 7494catch (Exception t) { 8898catch (Exception ex) { 10025catch (Exception e) { 11263catch (Exception e) { 13119catch (Exception e) { 13710catch (Exception ex) { 14451private void WndProcException(Exception e) { 14599protected override void OnThreadException(Exception e) { 14951catch (Exception e) { 15560catch (Exception e) { 16338catch (Exception e) { 16389catch (Exception e) { 16420catch (Exception e) { 17380catch (Exception e) { 17402catch (Exception ex) { 17460catch (Exception e) { 17639catch (Exception e) { 17694catch (Exception e) { 18794catch (Exception e) { 19004catch (Exception e) { 19852catch (Exception e) { 20040internal Exception exception;
winforms\Managed\System\WinForms\CurrencyManager.cs (6)
409catch (Exception ex) { 422catch (Exception ex) { 486catch (Exception ex) { 816catch (Exception ex) { 848catch (Exception ex) { 879catch (Exception ex) {
winforms\Managed\System\WinForms\Cursor.cs (2)
582catch (Exception e) { 681catch (Exception e) {
winforms\Managed\System\WinForms\DataGrid.cs (2)
1069catch (Exception e) { 3678catch (Exception e) {
winforms\Managed\System\WinForms\DataGridCaption.cs (1)
390catch (Exception e) {
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
747catch (Exception e) {
winforms\Managed\System\WinForms\DataGridRow.cs (1)
223catch (Exception e) {
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
1919catch (Exception exception) 1950Exception exception = null;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
203catch (Exception exception) 217catch (Exception exception)
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (7)
1217catch (Exception exception) 1251catch (Exception exception) 1284catch (Exception exception) 1462catch (Exception exception) 1520catch (Exception exception) 1539public void ProcessException(Exception exception, DataGridViewCellCancelEventArgs e, bool beginEdit) 1599catch (Exception exception)
winforms\Managed\System\WinForms\DataGridViewDataErrorEventArgs.cs (3)
17private Exception exception; 22public DataGridViewDataErrorEventArgs(Exception exception, 42public Exception Exception
winforms\Managed\System\WinForms\DataGridViewMethods.cs (8)
3128catch (Exception exception) 3920Exception exception; 9860catch (Exception exception) 9901catch (Exception exception) 17166catch (Exception ex) 20519catch (Exception exception) 25508private bool PushFormattedValue(ref DataGridViewCell dataGridViewCurrentCell, object formattedValue, out Exception exception) 25538catch (Exception e)
winforms\Managed\System\WinForms\DataObject.cs (1)
1680catch (Exception e)
winforms\Managed\System\WinForms\DataStreamFromComStream.cs (1)
122catch(Exception) {
winforms\Managed\System\WinForms\Design\IUIService.cs (2)
80void ShowError(Exception ex); 87void ShowError(Exception ex, string message);
winforms\Managed\System\WinForms\Design\PropertyTab.cs (1)
48catch (Exception ex)
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1086protected override void OnThreadException(Exception e) {
winforms\Managed\System\WinForms\FileDialog.cs (2)
657catch (Exception e) 1074catch (Exception e)
winforms\Managed\System\WinForms\FileDialog_Vista.cs (1)
185catch (Exception e)
winforms\Managed\System\WinForms\FontDialog.cs (1)
492catch (Exception e)
winforms\Managed\System\WinForms\Form.cs (1)
3544catch (Exception e)
winforms\Managed\System\WinForms\HtmlDocument.cs (7)
194catch (Exception ex) 223catch (Exception ex) 252catch (Exception ex) 281catch (Exception ex) 310catch (Exception ex) 586catch (Exception ex) 863catch (Exception ex)
winforms\Managed\System\WinForms\HtmlElement.cs (1)
636catch (Exception ex)
winforms\Managed\System\WinForms\HtmlShim.cs (1)
120catch (Exception ex) {
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
58catch (Exception) { 90catch (Exception) {
winforms\Managed\System\WinForms\ListBindingHelper.cs (1)
269Exception instanceException = null;
winforms\Managed\System\WinForms\ListControl.cs (1)
594catch (Exception exception)
winforms\Managed\System\WinForms\ListView.cs (2)
2870catch (Exception e) 5510catch (Exception e)
winforms\Managed\System\WinForms\MaskedTextBox.cs (3)
2574catch (Exception exception) 3017catch (Exception ex) 3162catch (Exception ex)
winforms\Managed\System\WinForms\NativeWindow.cs (2)
676catch (Exception e) { 1124protected virtual void OnThreadException(Exception e) {
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
1026protected override void OnThreadException(Exception e) {
winforms\Managed\System\WinForms\PictureBox.cs (5)
686private void PostCompleted(Exception error, bool cancelled) 713catch (Exception error) 763catch (Exception error) 825catch (Exception error) 1307catch (Exception ex)
winforms\Managed\System\WinForms\PropertyGrid.cs (11)
278catch (Exception ex) 1869catch (Exception e) 1934catch (Exception e) { 2413catch (Exception e) 2486catch (Exception ex) { 3605catch (Exception ex) 4009catch (Exception e) 4413catch (Exception e) { 4423catch (Exception e) { 4471catch (Exception ex) { 4490catch (Exception e) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (5)
1158catch (Exception e) 1330catch (Exception e) 1632catch (Exception w) 1669catch (Exception e) 1768catch (Exception t)
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
130catch (Exception ex)
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
73catch (Exception e) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (6)
316catch (Exception e) 1210if (value is Exception) { 1211Exception ex = (Exception)value; 1236Exception except = value as Exception;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (12)
1119catch (Exception e) { 1300catch (Exception ex) 1414catch (Exception ex) { 1486catch (Exception ex) { 1957catch (Exception ex) 2010catch (Exception e) { 4773catch (Exception ex) { 4843catch (Exception ex) 4951private void ShowFormatExceptionMessage(string propName, object value, Exception ex) 5036internal void ShowInvalidMessage(string propName, object value, Exception ex) { 7582catch (Exception ex) { 7606catch (Exception ex) {
winforms\Managed\System\WinForms\RelatedCurrencyManager.cs (1)
140catch (Exception ex) {
winforms\Managed\System\WinForms\RichTextBox.cs (2)
173catch (Exception e) 491catch (Exception e)
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
99public ThreadExceptionDialog(Exception t) {
winforms\Managed\System\WinForms\Timer.cs (1)
434protected override void OnThreadException(Exception e) {
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (1)
289catch (Exception e)
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (1)
324catch (Exception e)
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1810catch (Exception e) {
winforms\Managed\System\WinForms\ToolStripSettings.cs (1)
320catch (Exception e) {
winforms\Managed\System\WinForms\TrustManager.cs (11)
297catch (Exception ex) 360catch (Exception e) 380catch (Exception ex) 447catch (Exception) 478catch (Exception ex) 617catch (Exception) 720catch (Exception ex) 821catch (Exception ex) 852catch (Exception ex) 885catch (Exception ex) 939catch (Exception e)
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (3)
767catch (Exception ex) 783catch (Exception ex) 800catch (Exception ex)
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (2)
700catch (Exception e) { 1140catch (Exception e)
winforms\Managed\System\WinForms\WebBrowser.cs (11)
679catch (Exception ex) 705catch (Exception ex) 864catch (Exception ex) 893catch (Exception ex) 924catch (Exception ex) { 965catch (Exception ex) { 987catch (Exception ex) { 1008catch (Exception ex) { 1028catch (Exception ex) { 1050catch (Exception ex) { 1067catch (Exception ex) {
winforms\Managed\System\WinForms\WebBrowserBase.cs (4)
408catch (Exception ex) { 1013catch (Exception t) 1053catch (Exception t) { 1247catch (Exception ex) {
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (4)
264catch (Exception t) 400catch (Exception t) 449catch (Exception t) 474catch (Exception ex)
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
683catch (Exception ex)
System.Windows.Forms.DataVisualization (57)
Common\DataManager\DataManager.cs (2)
1014 catch(System.Exception) 1075 catch(System.Exception)
Common\DataManager\DataPoint.cs (1)
2414 catch(System.Exception)
Common\Formulas\Oscillator.cs (1)
188 catch( Exception e )
Common\Formulas\PriceIndicators.cs (8)
143 catch( Exception e ) 318 catch( Exception e ) 462 catch( Exception e ) 545 catch( Exception e ) 688 catch( Exception e ) 703 catch(System.Exception) 964 catch( Exception e ) 979 catch(System.Exception)
Common\Formulas\StatisticalAnalysis.cs (27)
188 catch(System.Exception) 455 catch(System.Exception) 593 catch(System.Exception) 608 catch(System.Exception) 618 catch(System.Exception) 628 catch(System.Exception) 748 catch(System.Exception) 763 catch(System.Exception) 924 catch(System.Exception) 939 catch(System.Exception) 1051 catch(System.Exception) 1062 catch(System.Exception) 1073 catch(System.Exception) 1121 catch(System.Exception) 1132 catch(System.Exception) 1143 catch(System.Exception) 1182 catch(System.Exception) 1225 catch(System.Exception) 1236 catch(System.Exception) 1284 catch(System.Exception) 1295 catch(System.Exception) 1306 catch(System.Exception) 1350 catch(System.Exception) 1653 catch(System.Exception) 1737 catch(System.Exception) 1748 catch(System.Exception) 1790 catch(System.Exception)
Common\Formulas\TechGeneralIndicators.cs (1)
83 catch( Exception e )
Common\Formulas\VolumeIndicator.cs (3)
149 catch( Exception e ) 364 catch(System.Exception) 434 catch(System.Exception)
Common\General\Chart.cs (2)
2006 catch(System.Exception) 3502catch (Exception ex)
Common\General\ChartAreaAxes.cs (3)
1079 catch(System.Exception) 1155 catch(System.Exception) 1503catch (Exception e)
Common\General\DataManipulator.cs (4)
342 catch(System.Exception) 1575 catch(System.Exception) 1593 catch(System.Exception) 3160 catch(System.Exception)
Common\General\FormulaData.cs (3)
636catch (System.Exception) 656catch (System.Exception) 785catch (System.Exception)
WinForm\ChartWinControl.cs (2)
398 catch(Exception) 451 catch(Exception)
System.Workflow.Activities (44)
Common\BasePropertyDescriptor.cs (2)
95catch (Exception t) 524catch (Exception t)
Common\ValidationHelpers.cs (1)
65catch (Exception e)
Delay.cs (1)
128protected sealed override ActivityExecutionStatus HandleFault(ActivityExecutionContext executionContext, Exception exception)
EventSinkActivity.cs (1)
308protected sealed override ActivityExecutionStatus HandleFault(ActivityExecutionContext executionContext, Exception exception)
Executors\InboundActivityHelper.cs (2)
59Exception excp = msg as Exception;
InvokeSchedule.cs (1)
232catch (Exception)
LocalService\ExternalDataExchangeService.cs (2)
329catch (Exception e) 339internal static bool IsIrrecoverableException(Exception e)
LocalService\MethodMessage.cs (5)
20void SendException(Exception exception); 21Exception Exception { get; } 41Exception exception; 272public void SendException(Exception exception) 285public Exception Exception
LocalService\WorkflowMessageEventHandler.cs (2)
33public EventDeliveryFailedException(String message, Exception innerException) 140catch (Exception e)
Role\RoleExceptions.cs (1)
24public WorkflowAuthorizationException(string message, Exception innerException) : base(message, innerException) { }
Rules\Design\Dialogs\RuleConditionDialog.cs (2)
26private Exception syntaxException; 137catch (Exception ex)
Rules\Design\Dialogs\RuleSetDialog.cs (3)
238catch (Exception ex) 262catch (Exception ex) 286catch (Exception ex)
Rules\Exceptions.cs (5)
42public RuleException(string message, Exception ex) 88public RuleEvaluationException(string message, Exception ex) 165public RuleEvaluationIncompatibleTypesException(string message, Exception ex) 202Exception ex) 286public RuleSetValidationException(string message, Exception ex)
Rules\Expressions.cs (1)
2091catch (Exception)
Rules\Helpers.cs (2)
133catch (Exception) 242catch (Exception)
Rules\Parser\Scanner.cs (4)
600catch (Exception exception) 613catch (Exception exception) 626catch (Exception exception) 641catch (Exception exception)
Rules\RuleValidation.cs (2)
893public IDictionary<object, Exception> TypeLoadErrors 2274catch (Exception e)
Sequence.cs (1)
93protected override ActivityExecutionStatus HandleFault(ActivityExecutionContext executionContext, Exception exception)
WebServiceFault.cs (3)
33public static readonly DependencyProperty FaultProperty = DependencyProperty.Register("Fault", typeof(Exception), typeof(WebServiceFaultActivity)); 75public Exception Fault 79return base.GetValue(FaultProperty) as Exception;
WebServiceReceive.cs (3)
273Exception excp = msg as Exception; 332protected sealed override ActivityExecutionStatus HandleFault(ActivityExecutionContext executionContext, Exception exception)
System.Workflow.ComponentModel (153)
AuthoringOM\Activity.cs (8)
283protected internal virtual ActivityExecutionStatus HandleFault(ActivityExecutionContext executionContext, Exception exception) 1571catch (Exception e) 1596Exception exception = (Exception)this.GetValue(ActivityExecutionContext.CurrentExceptionProperty); 1670catch (Exception e) 1683Exception exception = (Exception)this.GetValue(ActivityExecutionContext.CurrentExceptionProperty); 2039protected internal override ActivityExecutionStatus HandleFault(ActivityExecutionContext executionContext, Exception exception)
AuthoringOM\ActivityExecutionContext.cs (3)
44public static readonly DependencyProperty CurrentExceptionProperty = DependencyProperty.RegisterAttached("CurrentException", typeof(Exception), typeof(ActivityExecutionContext), new PropertyMetadata(null, DependencyPropertyOptions.Default, null, EnforceExceptionSemantics, true)); 301internal void FaultActivity(Exception e) 598internal void TerminateWorkflowInstance(Exception e)
AuthoringOM\ActivityExecutionContextCollection.cs (1)
127catch (Exception)
AuthoringOM\ActivityExecutor.cs (4)
16public abstract ActivityExecutionStatus HandleFault(Activity activity, ActivityExecutionContext executionContext, Exception exception); 32public sealed override ActivityExecutionStatus HandleFault(Activity activity, ActivityExecutionContext executionContext, Exception exception) 61protected virtual ActivityExecutionStatus HandleFault(T activity, ActivityExecutionContext executionContext, Exception exception) 174catch (Exception e)
AuthoringOM\ActivityExecutorDelegateInfo.cs (1)
338catch (Exception e)
AuthoringOM\ActivityExecutorOperation.cs (6)
51private Exception exceptionToDeliver; 59public ActivityExecutorOperation(Activity activity, ActivityOperationType opt, int contextId, Exception e) 90catch (Exception e) 109catch (Exception e) 127catch (Exception e) 145catch (Exception e)
AuthoringOM\ActivityInterfaces.cs (3)
132void RaiseException(Exception e, Activity activity, string responsibleActivity); 158void TerminateInstance(Exception e); 195public WorkflowTerminatedException(string message, Exception exception)
AuthoringOM\Behaviors\ExceptionHandler.cs (8)
30internal static readonly DependencyProperty FaultProperty = DependencyProperty.Register("Fault", typeof(Exception), typeof(FaultHandlerActivity)); 59public Exception Fault 63return base.GetValue(FaultProperty) as Exception; 67internal void SetException(Exception e) 109bool isAssignable = TypeProvider.IsAssignable(typeof(Exception), type); 138returnType = typeof(Exception); 184else if (!TypeProvider.IsAssignable(typeof(Exception), exceptionHandler.FaultType)) 186error = new ValidationError(SR.GetString(SR.Error_TypeTypeMismatch, new object[] { "FaultType", typeof(Exception).FullName }), ErrorNumbers.Error_TypeTypeMismatch);
AuthoringOM\Behaviors\ExceptionHandlers.cs (2)
54Exception excep = this.Parent.GetValue(ActivityExecutionContext.CurrentExceptionProperty) as Exception;
AuthoringOM\Bind.cs (3)
1051catch (Exception exception) 1098catch (Exception exception) 1119catch (Exception exception)
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
89if (argument is Exception)
AuthoringOM\Compiler\TypeSystem\Interfaces.cs (1)
18IDictionary<object, Exception> TypeLoadErrors { get; }
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (14)
65catch (Exception e) 400catch (Exception e) 428catch (Exception e) 508catch (Exception e) 537catch (Exception e) 567public IDictionary<object, Exception> TypeLoadErrors 571Dictionary<object, Exception> collection = new Dictionary<object, Exception>(); 575Exception e = entry.Value as Exception; 838catch (Exception e) 860catch (Exception e) 891catch (Exception e) 959catch (Exception e)
AuthoringOM\Compiler\Validation\BindValidator.cs (1)
519catch (Exception e)
AuthoringOM\Compiler\Validation\WorkflowValidationFailedException.cs (1)
36public WorkflowValidationFailedException(string message, Exception innerException)
AuthoringOM\Compiler\XomlCompiler.cs (2)
770catch (Exception e) 1074catch (Exception e)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (4)
179catch (Exception e) 196foreach (KeyValuePair<object, Exception> entry in typeProvider.TypeLoadErrors) 683Exception e = tie.InnerException ?? tie; 687catch (Exception e)
AuthoringOM\ComponentFactoryHelpers.cs (2)
211catch (Exception ex) 238catch (Exception e)
AuthoringOM\Design\CommandSet.cs (2)
810catch (Exception exception) 899catch (Exception ex)
AuthoringOM\Design\CompositeActivityDesigner.cs (2)
469catch (Exception e) 951catch (Exception ex)
AuthoringOM\Design\DesignerHelpers.cs (1)
1437internal static void ShowError(IServiceProvider serviceProvider, Exception e)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (7)
558catch (Exception ex) 599catch (Exception ex) 697catch (Exception ex) 720Exception exception = null; 757catch (Exception ex) 874catch (Exception e) 897catch (Exception ex)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (1)
1055catch (Exception exception)
AuthoringOM\Design\FreeFormDesigner.cs (1)
1213catch (Exception e)
AuthoringOM\Design\MessageFilters\DragDropManager.cs (3)
509catch (Exception e) 535catch (Exception ex) 842catch (Exception e)
AuthoringOM\Design\MessageFilters\WindowManager.cs (2)
357catch (Exception e) 367catch (Exception e)
AuthoringOM\Design\SecondaryViewProvider.cs (1)
193catch (Exception e)
AuthoringOM\Design\Themes.cs (1)
2219catch (Exception e)
AuthoringOM\Design\UITypeEditors.cs (2)
158catch (Exception e) 193catch (Exception e)
AuthoringOM\Design\WorkflowPrinting.cs (1)
195catch (Exception exception)
AuthoringOM\Design\WorkflowView.cs (7)
1055catch (Exception ex) 1072catch (Exception ex) 1442catch (Exception e) 1617catch (Exception e) 1639catch (Exception e) 1688catch (Exception ex) 1782catch (Exception ex)
AuthoringOM\Design\XomlDesignerLoader.cs (2)
317catch (Exception e) 362catch (Exception e)
AuthoringOM\Fault.cs (6)
29public static readonly DependencyProperty FaultProperty = DependencyProperty.Register("Fault", typeof(Exception), typeof(ThrowActivity)); 61if (this.FaultType != null && !typeof(Exception).IsAssignableFrom(this.FaultType)) 77throw (Exception)cInfo.Invoke(null); 87public Exception Fault 91return base.GetValue(FaultProperty) as Exception; 120bool isAssignable = TypeProvider.IsAssignable(typeof(Exception), type);
AuthoringOM\Filters\ActivityExecutionFilter.cs (1)
68public override ActivityExecutionStatus HandleFault(Activity activity, ActivityExecutionContext executionContext, Exception exception)
AuthoringOM\Filters\CompensationHandlingFilter.cs (1)
122catch (Exception)
AuthoringOM\Filters\FaultHandlingFilter.cs (2)
30public override ActivityExecutionStatus HandleFault(Activity activity, ActivityExecutionContext executionContext, Exception exception) 158catch (Exception)
AuthoringOM\Filters\TransactionFilter.cs (4)
63Exception exception = (Exception)context.Activity.GetValue(ActivityExecutionContext.CurrentExceptionProperty); 170public Exception Exception; 171public StateRevertedEventArgs(Exception exception)
AuthoringOM\Serializer\CodeTypeReferenceSerializer.cs (1)
98catch (Exception)
AuthoringOM\Serializer\WorkflowMarkupSerializationException.cs (2)
38public WorkflowMarkupSerializationException(string message, Exception innerException, int lineNumber, int columnNumber) 45public WorkflowMarkupSerializationException(string message, Exception innerException)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (35)
145catch (Exception e) 290catch (Exception e) 316catch (Exception e) 405catch (Exception e) 416catch (Exception e) 538catch (Exception e) 608catch (Exception e) 625catch (Exception e) 708catch (Exception e) 841catch (Exception e) 881catch (Exception e) 931catch (Exception e) 946catch (Exception e) 980catch (Exception e) 1098catch (Exception e) 1109catch (Exception e) 1659internal static WorkflowMarkupSerializationException CreateSerializationError(Exception e, XmlReader reader) 1667internal static WorkflowMarkupSerializationException CreateSerializationError(string message, Exception e, XmlReader reader) 1713catch (Exception e) 1725catch (Exception e) 1762catch (Exception e) 1783catch (Exception e) 1885catch (Exception e) 1998catch (Exception e) 2032catch (Exception e) 2042catch (Exception e) 2535catch (Exception error) 2619catch (Exception e) 2919catch (Exception e) 2936catch (Exception e) 2959catch (Exception e) 3000catch (Exception e) 3026catch (Exception e) 3050catch (Exception e) 3076catch (Exception e)
Shared\BasePropertyDescriptor.cs (2)
94catch (Exception t) 523catch (Exception t)
Shared\ValidationHelpers.cs (1)
64catch (Exception e)
System.Workflow.Runtime (138)
DebugEngine\DebugController.cs (5)
71private delegate void ExceptionNotification(Exception e); 79Exception workerThreadException = null; 83processSecurity.exceptionNotification += delegate(Exception e) 115catch (Exception e) 582catch (Exception e)
DebugEngine\ProgramPublisher.cs (4)
55catch (Exception e) 75catch (Exception e) 98catch (Exception e) 113catch (Exception e)
Hosting\DbResourceAllocator.cs (1)
297catch (Exception e)
Hosting\DefaultWorkflowLoaderService.cs (1)
76catch (Exception e)
Hosting\DefaultWorkflowSchedulerService.cs (2)
245catch (Exception e) 336catch (Exception e)
Hosting\DefaultWorkflowTransactionService.cs (1)
108catch (Exception e)
Hosting\LocalTransaction.cs (1)
98catch (Exception e)
Hosting\ManualWorkflowSchedulerService.cs (3)
181catch (Exception e) 225catch (Exception e) 344catch (Exception e)
Hosting\PersistenceException.cs (1)
20public PersistenceException(string message, Exception innerException) : base(message, innerException) { }
Hosting\SharedConnectionWorkflowTransactionService.cs (1)
218catch (Exception e)
Hosting\SqlWorkflowPersistenceService.cs (12)
122catch (Exception e) 273catch (Exception e) 340catch (Exception e) 387catch (Exception e) 447catch (Exception e) 470Exception e = new InvalidOperationException(string.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.InstanceNotFound, instanceStateId)); 504catch (Exception e) 898catch (Exception e) 918catch (Exception e) 940catch (Exception e) 965catch (Exception e) 1149catch (Exception e)
Hosting\WorkflowRuntimeService.cs (2)
49protected void RaiseServicesExceptionNotHandledEvent(Exception exception, Guid instanceId) 54internal void RaiseExceptionNotHandledEvent(Exception exception, Guid instanceId)
Hosting\WorkflowTransactionService.cs (1)
46catch (Exception e)
Lock.cs (2)
286if ((eseg.EventInfo as System.Exception) != null) 288workflowExec.FireWorkflowTerminated((Exception)eseg.EventInfo);
Scheduler.cs (2)
129Exception exp = null; 188catch (Exception e)
ServicesExceptionNotHandledEventArgs.cs (3)
35private Exception exception; 38internal ServicesExceptionNotHandledEventArgs(Exception exception, Guid instanceId) 44public Exception Exception
System\Activities\Statements\Interop.cs (9)
57Variable<Exception> outstandingException; 72this.outstandingException = new Variable<Exception>(); 395catch (Exception exception) 430catch (Exception exception) 536catch (Exception exception) 726internal void OnClose(NativeActivityContext context, Exception exception) 768Exception exception = this.outstandingException.Get(context); 834catch (Exception exception) 1846catch (Exception e) // transfer to another thread, this is a fatal situation
System\Activities\Statements\InteropEnvironment.cs (5)
36Exception uncaughtException; 71catch (Exception e) 86catch (Exception e) 100catch (Exception e) 150catch (Exception e)
System\Activities\Statements\InteropExecutor.cs (5)
45Exception outstandingException; 66Exception lastExceptionThrown; 677public void RaiseException(Exception e, Activity activity, string responsibleActivity) 839public void TerminateInstance(Exception e) 996catch (Exception e)
Tracking\SqlTrackingService.cs (16)
467catch (Exception e) 497catch (Exception e) 528catch (Exception e) 561catch (Exception e) 1143catch (Exception e) 1174catch (Exception) 1181catch (Exception) 1350catch (Exception) 1357catch (Exception) 1497catch (Exception) 1507catch (Exception) 1664catch (Exception) 1674catch (Exception) 2019catch (Exception) 2029catch (Exception) 2294Exception e;
Tracking\TrackingProfileDeserializationException.cs (1)
32public TrackingProfileDeserializationException(string message, Exception innerException)
Tracking\TrackingProfileSerializer.cs (1)
110catch (Exception)
Tracking\TrackingWorkflowEventArgs.cs (6)
52private Exception _e = null; 54internal TrackingWorkflowTerminatedEventArgs(Exception exception) 64public Exception Exception 92private Exception _e = null; 97internal TrackingWorkflowExceptionEventArgs(Exception exception, string currentPath, string originalPath, Guid contextGuid, Guid parentContextGuid) 106public Exception Exception
WorkBatch.cs (2)
210catch (Exception e) 267catch (Exception e)
WorkflowDefinitionDispenser.cs (1)
564catch (Exception)//ignore any dispose exception.
WorkflowEventArgs.cs (3)
112private Exception exception; 119internal WorkflowTerminatedEventArgs(WorkflowInstance instance, Exception e) 125public Exception Exception
WorkflowExecutor.cs (36)
65private Exception thrownException; 591catch (Exception e) 740catch (Exception e) 884catch (Exception) 959catch (Exception e) 1123catch (Exception e) 1501catch (Exception e) 1604catch (Exception e) 1652catch (Exception e) 1697catch (Exception e) 1727catch (Exception) 1789catch (Exception e) 1838catch (Exception e) 1903catch (Exception e) 2014catch (Exception e) 2300private void RollbackTransaction(Exception exp, Activity activityContext) 2557internal void ExceptionOccured(Exception exp, Activity currentActivity, string originalActivityId) 2598internal Exception ThrownException 2604internal static bool IsIrrecoverableException(Exception e) 2621internal void FireExceptionOccured(Exception e, string currentActivityPath, string originalActivityPath, Guid contextGuid, Guid parentContextGuid) 2731catch (Exception e) 2880void IWorkflowCoreRuntime.TerminateInstance(Exception e) 2949void IWorkflowCoreRuntime.RaiseException(Exception e, Activity activity, string responsibleActivity) 3194private static string GetNestedExceptionMessage(Exception exp) 3336private System.Exception _exception; 3340internal WorkflowExecutionExceptionEventArgs(Exception exception, string currentPath, string originalPath, Guid contextGuid, Guid parentContextGuid) 3353internal Exception Exception 3382private void FireWorkflowException(Exception exception, string currentPath, string originalPath, Guid contextGuid, Guid parentContextGuid) 3392private System.Exception _exception; 3401internal WorkflowExecutionTerminatedEventArgs(Exception exception) 3407internal Exception Exception 3419private System.Exception _exception; 3428internal WorkflowExecutionTerminatingEventArgs(Exception exception) 3437internal Exception Exception 3451private void FireWorkflowTerminating(Exception exception) 3471internal void FireWorkflowTerminated(Exception exception)
WorkflowOwnershipException.cs (2)
39public WorkflowOwnershipException(string message, Exception innerException) 55public WorkflowOwnershipException(Guid instanceId, string message, Exception innerException)
WorkflowRuntime.cs (9)
570catch (Exception e) 644catch (Exception) 678catch (Exception e) 699catch (Exception) 718catch (Exception) 733catch (Exception) 792catch (Exception) 806internal void RaiseServicesExceptionNotHandledEvent(Exception exception, Guid instanceId) 1379catch (Exception)
System.WorkflowServices (76)
System\ServiceModel\Dispatcher\DurableErrorHandler.cs (6)
30public bool HandleError(Exception error) 36public void ProvideFault(Exception error, MessageVersion version, ref Message fault) 48Exception toTrace = GetExceptionToTrace(error); 60protected virtual Exception GetExceptionToTrace(Exception error) 65protected abstract bool IsUserCodeException(Exception error);
System\ServiceModel\Dispatcher\ServiceDurableInstance.cs (8)
130public IAsyncResult BeginFinishOperation(bool completeInstance, bool performPersistence, Exception operationException, AsyncCallback callback, object state) 150public void FinishOperation(bool completeInstance, bool performPersistence, Exception operationException) 396OperationType FinishOperationCommon(bool completeInstance, Exception operationException, out bool disposeInstance) 555public FinishOperationAsyncResult(ServiceDurableInstance durableInstance, bool completeInstance, bool performPersistence, Exception operationException, AsyncCallback callback, object state) 680Exception completionException = null; 685catch (Exception e) 876Exception completionException = null; 891catch (Exception e)
System\ServiceModel\Dispatcher\ServiceErrorHandler.cs (2)
19public static void MarkException(Exception toMark) 31protected override bool IsUserCodeException(Exception error)
System\ServiceModel\Dispatcher\ServiceOperationInvoker.cs (8)
59Exception operationException = null; 66catch (Exception e) 116Exception completionException; 172catch (Exception e) 204catch (Exception e) 242catch (Exception e) 274catch (Exception e) 310catch (Exception e)
System\ServiceModel\Dispatcher\WorkflowInstanceContextProvider.cs (1)
219catch (Exception e)
System\ServiceModel\Dispatcher\WorkflowInstanceLifeTimeManagerExtension.cs (2)
216catch (Exception e) 224catch (Exception e)
System\ServiceModel\Dispatcher\WorkflowOperationAsyncResult.cs (5)
137public void SendFault(Exception exception, IDictionary<string, string> contextProperties) 232catch (Exception unhandled) 241catch (Exception e) 257catch (Exception e1) 275catch (Exception e1)
System\ServiceModel\Dispatcher\WorkflowOperationErrorHandler.cs (6)
16public static Exception CreateUnhandledException(Exception innerException) 25protected override Exception GetExceptionToTrace(Exception error) 30protected override bool IsUserCodeException(Exception error) 37public WorkflowOperationUnhandledException(Exception innerException)
System\ServiceModel\Dispatcher\WorkflowOperationInvoker.cs (1)
188catch (Exception e)
System\ServiceModel\Dispatcher\WorkflowRequestContext.cs (2)
97public void SendFault(Exception exception, IDictionary<string, string> outgoingContextProperties) 153catch (Exception e)
System\ServiceModel\Persistence\InstanceLockException.cs (3)
26public InstanceLockException(string message, Exception innerException) 43public InstanceLockException(Guid id, string message, Exception innerException) 49public InstanceLockException(Guid id, Exception innerException)
System\ServiceModel\Persistence\InstanceNotFoundException.cs (3)
26public InstanceNotFoundException(string message, Exception innerException) 43public InstanceNotFoundException(Guid id, string message, Exception innerException) 49public InstanceNotFoundException(Guid id, Exception innerException)
System\ServiceModel\Persistence\PersistenceException.cs (1)
23public PersistenceException(string message, Exception innerException)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (20)
277catch (Exception e) 638catch (Exception e) 651Exception toThrow = handler.ProcessResult(resultCode, id, returnValue); 740public override Exception ProcessResult(int resultCode, Guid id, object loadedInstance) 820public override Exception ProcessResult(int resultCode, Guid id, object loadedInstance) 906public override Exception ProcessResult(int resultCode, Guid id, object loadedInstance) 908Exception toReturn = null; 994Exception completionException = null; 1000catch (Exception e) 1050Exception delayedException = null; 1075catch (Exception e) 1087catch (Exception e1) 1138Exception completionException = null; 1143catch (Exception e) 1161catch (Exception e1) 1174Exception CompleteOperation(IAsyncResult result) 1176Exception delayedException = null; 1226public abstract Exception ProcessResult(int resultCode, Guid id, object loadedInstance); 1386public override Exception ProcessResult(int resultCode, Guid id, object loadedInstance) 1441public override Exception ProcessResult(int resultCode, Guid id, object loadedInstance)
System\Workflow\Activities\Design\RichListBox.cs (1)
214catch (Exception exception)
System\Workflow\Activities\Design\ServiceOperationUIEditor.cs (1)
87catch (Exception e)
System\Workflow\Activities\ReceiveActivity.cs (1)
977Exception exception)
System\Workflow\Activities\SendActivity.cs (1)
421catch (Exception exception)
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (3)
104catch (Exception exception) 134catch (Exception exception) 305catch (Exception e)
System\Workflow\Runtime\WorkflowDefinitionContext.cs (1)
81catch (Exception e)
System.Xml (304)
System\Xml\BinaryXml\XmlBinaryReader.cs (4)
3968Exception ThrowUnexpectedToken(BinXmlToken token) { 3973Exception ThrowXmlException(string res) { 3984Exception ThrowXmlException(string res, string arg1, string arg2) { 3989Exception ThrowNotSupported(string res) {
System\Xml\Core\IDtdParserAdapter.cs (1)
58void Throw( Exception e );
System\Xml\Core\IValidationEventHandling.cs (1)
18void SendEvent(Exception exception, XmlSeverityType severity);
System\Xml\Core\XmlReader.cs (4)
1361internal Exception CreateReadContentAsException(string methodName) { 1365internal Exception CreateReadElementContentAsException(string methodName) { 1373static internal Exception CreateReadContentAsException(string methodName, XmlNodeType nodeType, IXmlLineInfo lineInfo) { 1377static internal Exception CreateReadElementContentAsException(string methodName, XmlNodeType nodeType, IXmlLineInfo lineInfo) {
System\Xml\Core\XmlTextReaderImpl.cs (9)
2431internal void DtdParserProxy_Throw( Exception e ) { 2487void Throw( string res, string arg, Exception innerException ) { 2491void Throw( string res, string[] args, Exception innerException ) { 2495void Throw( Exception e ) { 2504void ReThrow( Exception e, int lineNo, int linePos ) { 2505Throw( new XmlException( e.Message, (Exception)null, lineNo, linePos, ps.baseUriStr ) ); 2516void ThrowWithoutLineInfo( string res, string[] args, Exception innerException ) { 7114catch ( Exception ) { 7127catch ( Exception e ) {
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
4753catch ( Exception ) { 4768catch ( Exception e ) {
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
280void IDtdParserAdapter.Throw( Exception e ) {
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
56void IValidationEventHandling.SendEvent(Exception /*XmlSchemaException*/ exception, XmlSeverityType severity) {
System\Xml\Core\XmlWellFormedWriter.cs (1)
1809private static Exception InvalidCharsException(string name, int badCharIndex) {
System\Xml\Dom\XmlLoader.cs (1)
872static internal Exception UnexpectedNodeType( XmlNodeType nodetype ) {
System\Xml\Schema\BaseProcessor.cs (1)
194protected void SendValidationEvent(string code, string[] args, Exception innerException, XmlSchemaObject source) {
System\Xml\Schema\DataTypeImplementation.cs (74)
483Exception exception = TryParseValue(s, nameTable, nsmgr, out typedValue); 497Exception exception = TryParseValue(s, nameTable, nsmgr, out typedValue); 508internal override Exception TryParseValue(object value, XmlNameTable nameTable, IXmlNamespaceResolver namespaceResolver, out object typedValue) { 509Exception exception = null; 926internal override Exception TryParseValue(object value, XmlNameTable nameTable, IXmlNamespaceResolver namespaceResolver, out object typedValue) { 927Exception exception; 991internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 992Exception exception; 1112internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1113Exception exception; 1144internal override Exception TryParseValue(object value, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1145Exception exception; 1227internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1301internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1302Exception exception; 1369internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1370Exception exception; 1448internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1449Exception exception; 1531internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1532Exception exception; 1619internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1620Exception exception; 1704internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1705Exception exception; 1733internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1734Exception exception; 1770internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1771Exception exception; 1853internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 1854Exception exception; 2217internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 2218Exception exception; 2309internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 2310Exception exception; 2405internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 2406Exception exception; 2486internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 2487Exception exception; 2671internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 2672Exception exception; 2803internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 2804Exception exception; 2874internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 2875Exception exception; 2983internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 2984Exception exception; 3036internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 3037Exception exception; 3090internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 3091Exception exception; 3143internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 3144Exception exception; 3225internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 3226Exception exception; 3278internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 3279Exception exception; 3331internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 3332Exception exception; 3383internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 3384Exception exception; 3435catch(Exception e) { 3451catch(Exception e) { 3481catch (Exception e) { 3517catch (Exception e) { 3522internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 3523Exception exception; 3542Exception exception; 3555catch (Exception e) { 3562internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 3563Exception exception; 3605catch (Exception e) { 3610internal override Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue) { 3611Exception exception;
System\Xml\Schema\DtdValidator.cs (2)
455catch (Exception) { 507catch (Exception) {
System\Xml\Schema\FacetChecker.cs (43)
306} catch (Exception e) { 551Exception ex = datatype.TryParseValue(facet.Value, nameTable, nsmgr, out typedValue); 643internal virtual Exception CheckLexicalFacets(ref string parseString, XmlSchemaDatatype datatype) { 647internal virtual Exception CheckValueFacets(object value, XmlSchemaDatatype datatype) { 650internal virtual Exception CheckValueFacets(decimal value, XmlSchemaDatatype datatype) { 653internal virtual Exception CheckValueFacets(Int64 value, XmlSchemaDatatype datatype) { 656internal virtual Exception CheckValueFacets(Int32 value, XmlSchemaDatatype datatype) { 659internal virtual Exception CheckValueFacets(Int16 value, XmlSchemaDatatype datatype) { 662internal virtual Exception CheckValueFacets(byte value, XmlSchemaDatatype datatype) { 665internal virtual Exception CheckValueFacets(DateTime value, XmlSchemaDatatype datatype) { 668internal virtual Exception CheckValueFacets(double value, XmlSchemaDatatype datatype) { 671internal virtual Exception CheckValueFacets(float value, XmlSchemaDatatype datatype) { 674internal virtual Exception CheckValueFacets(string value, XmlSchemaDatatype datatype) { 677internal virtual Exception CheckValueFacets(byte[] value, XmlSchemaDatatype datatype) { 680internal virtual Exception CheckValueFacets(TimeSpan value, XmlSchemaDatatype datatype) { 683internal virtual Exception CheckValueFacets(XmlQualifiedName value, XmlSchemaDatatype datatype) { 718internal Exception CheckPatternFacets(RestrictionFacets restriction, string value) { 833internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype) { 839internal override Exception CheckValueFacets(decimal value, XmlSchemaDatatype datatype) { 883internal override Exception CheckValueFacets(Int64 value, XmlSchemaDatatype datatype) { 888internal override Exception CheckValueFacets(Int32 value, XmlSchemaDatatype datatype) { 892internal override Exception CheckValueFacets(Int16 value, XmlSchemaDatatype datatype) { 896internal override Exception CheckValueFacets(byte value, XmlSchemaDatatype datatype) { 912internal Exception CheckTotalAndFractionDigits(decimal value, int totalDigits, int fractionDigits, bool checkTotal, bool checkFraction) { 936internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype) { 941internal override Exception CheckValueFacets(double value, XmlSchemaDatatype datatype) { 976internal override Exception CheckValueFacets(float value, XmlSchemaDatatype datatype) { 995internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype) { 1000internal override Exception CheckValueFacets(TimeSpan value, XmlSchemaDatatype datatype) { 1050internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype) { 1055internal override Exception CheckValueFacets(DateTime value, XmlSchemaDatatype datatype) { 1117internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype) { 1122internal override Exception CheckValueFacets(string value, XmlSchemaDatatype datatype) { 1126internal Exception CheckValueFacets(string value, XmlSchemaDatatype datatype, bool verifyUri) { 1131Exception exception; 1183private Exception CheckBuiltInFacets(string s, XmlTypeCode typeCode, bool verifyUri) { 1184Exception exception = null; 1235internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype) { 1240internal override Exception CheckValueFacets(XmlQualifiedName value, XmlSchemaDatatype datatype) { 1288internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype) { 1293internal override Exception CheckValueFacets(byte[] value, XmlSchemaDatatype datatype) { 1338internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype) { 1386internal override Exception CheckValueFacets(object value, XmlSchemaDatatype datatype) {
System\Xml\Schema\Inference\XmlSchemaInferenceException.cs (3)
40public XmlSchemaInferenceException(String message) : base (message, ((Exception)null), 0, 0) 44public XmlSchemaInferenceException(String message, Exception innerException) : base (message, innerException, 0, 0) 49public XmlSchemaInferenceException(String message, Exception innerException, int lineNumber, int linePosition) :
System\Xml\Schema\Preprocessor.cs (5)
261Exception innerException = null; 266catch(Exception e) { 304catch(Exception eInner) { 348catch(Exception eInner) { 480Exception exception = tokenDt.TryParseValue(schema.Version, null, null, out version);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (4)
209catch(Exception) { 276catch (Exception) { 1377catch (Exception ex){ 1409catch (Exception ex){
System\Xml\Schema\XdrValidator.cs (1)
295catch(Exception e) {
System\Xml\Schema\XmlSchemaDataType.cs (2)
107internal abstract Exception TryParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, out object typedValue); 109internal abstract Exception TryParseValue(object value, XmlNameTable nameTable, IXmlNamespaceResolver namespaceResolver, out object typedValue);
System\Xml\Schema\XmlSchemaException.cs (4)
79public XmlSchemaException(String message) : this (message, ((Exception)null), 0, 0) { 86public XmlSchemaException(String message, Exception innerException) : this (message, innerException, 0, 0) { 90public XmlSchemaException(String message, Exception innerException, int lineNumber, int linePosition) : 118internal XmlSchemaException(string res, string[] args, Exception innerException, string sourceUri, int lineNumber, int linePosition, XmlSchemaObject source) :
System\Xml\Schema\XmlSchemaValidationException.cs (4)
38public XmlSchemaValidationException(String message) : base (message, ((Exception)null), 0, 0) { 42public XmlSchemaValidationException(String message, Exception innerException) : base (message, innerException, 0, 0) { 46public XmlSchemaValidationException(String message, Exception innerException, int lineNumber, int linePosition) : 68internal XmlSchemaValidationException(string res, string[] args, Exception innerException, string sourceUri, int lineNumber, int linePosition) :
System\Xml\Schema\XmlSchemaValidator.cs (9)
1095Exception exception = dtStringArray.TryParseValue(xsiSchemaLocation, nameTable, nsResolver, out typedValue); 1217Exception exception = currentElementDecl.Datatype.TryParseValue(currentElementDecl.DefaultValueRaw, nameTable, nsResolver, out typedVal); 1252Exception exception = dtype.TryParseValue(parsedValue, nameTable, nsResolver, out typedValue); 1387Exception exception = dtQName.TryParseValue(xsiType, nameTable, nsResolver, out typedVal); 1563catch(Exception e) { 1627Exception exception = null; 1659Exception exception = dtype.TryParseValue(stringValue, nameTable, nsResolver, out typedValue); 2343private void SendValidationEvent(string code, string[] args, Exception innerException, XmlSeverityType severity) { 2349private void SendValidationEvent(string code, string[] args, Exception innerException) {
System\Xml\Schema\XmlValueConverter.cs (2)
541protected Exception CreateInvalidClrMappingException(Type sourceType, Type destinationType) { 3299private new Exception CreateInvalidClrMappingException(Type sourceType, Type destinationType) {
System\Xml\Schema\XsdBuilder.cs (4)
2244catch(Exception) { 2253catch(Exception) { 2262catch(Exception) { 2284catch(Exception) {
System\Xml\Schema\XsdDuration.cs (7)
138Exception exception = TryParse(s, durationType, out result); 282Exception exception = TryToTimeSpan(durationType, out result); 290internal Exception TryToTimeSpan(out TimeSpan result) { 295internal Exception TryToTimeSpan(DurationType durationType, out TimeSpan result) { 296Exception exception = null; 443internal static Exception TryParse(string s, out XsdDuration result) { 448internal static Exception TryParse(string s, DurationType durationType, out XsdDuration result) {
System\Xml\Schema\XsdValidator.cs (1)
508catch(Exception e) {
System\Xml\Serialization\CodeGenerator.cs (1)
132internal static Exception NotSupported(string msg) {
System\Xml\Serialization\Compilation.cs (1)
175catch (Exception e) {
System\Xml\Serialization\Compiler.cs (1)
263catch (Exception e) {
System\Xml\Serialization\SoapReflectionImporter.cs (3)
163Exception ReflectionException(string context, Exception e) { 581catch (Exception e) {
System\Xml\Serialization\Types.cs (4)
90Exception exception; 311internal Exception Exception { 694Exception exception = null; 1091static TypeFlags GetConstructorFlags(Type type, ref Exception exception) {
System\Xml\Serialization\XmlReflectionImporter.cs (11)
332Exception CreateReflectionException(string context, Exception e) { 336Exception CreateTypeReflectionException(string context, Exception e) { 340Exception CreateMemberReflectionException(FieldModel model, Exception e) { 415catch (Exception e) { 552static Exception InvalidAttributeUseException(Type type) { 556static Exception UnsupportedException(TypeDesc typeDesc, ImportContext context) { 781catch (Exception e) { 1135catch (Exception e) {
System\Xml\Serialization\XmlSchemas.cs (1)
661internal static Exception CreateValidationException(XmlSchemaException exception, string message) {
System\Xml\Serialization\XmlSerializationReader.cs (13)
989catch (Exception e) { 1048catch (Exception e) { 1249protected Exception CreateUnknownTypeException(XmlQualifiedName type) { 1254protected Exception CreateReadOnlyCollectionException(string name) { 1259protected Exception CreateAbstractTypeException(string name, string ns) { 1264protected Exception CreateInaccessibleConstructorException(string typeName) { 1269protected Exception CreateCtorHasSecurityException(string typeName) { 1274protected Exception CreateUnknownNodeException() { 1279protected Exception CreateUnknownConstantException(string value, Type enumType) { 1284protected Exception CreateInvalidCastException(Type type, object value) { 1289protected Exception CreateInvalidCastException(Type type, object value, string id) { 1300protected Exception CreateBadDerivationException(string xsdDerived, string nsDerived, string xsdBase, string nsBase, string clrDerived, string clrBase) { 1305protected Exception CreateMissingIXmlSerializableType(string name, string ns, string clrType) {
System\Xml\Serialization\XmlSerializationWriter.cs (9)
707protected Exception CreateUnknownTypeException(object o) { 712protected Exception CreateUnknownTypeException(Type type) { 720protected Exception CreateMismatchChoiceException(string value, string elementName, string enumValue) { 726protected Exception CreateUnknownAnyElementException(string name, string ns) { 731protected Exception CreateInvalidChoiceIdentifierValueException(string type, string identifier) { 736protected Exception CreateChoiceIdentifierValueException(string value, string identifier, string name, string ns) { 742protected Exception CreateInvalidEnumValueException(object value, string typeName) { 747protected Exception CreateInvalidAnyTypeException(object o) { 752protected Exception CreateInvalidAnyTypeException(Type type) {
System\Xml\Serialization\XmlSerializer.cs (2)
346catch (Exception e) { 423catch (Exception e) {
System\Xml\ValidateNames.cs (1)
404internal static Exception GetInvalidNameException(string s, int offsetStartChar, int offsetBadChar) {
System\Xml\XmlConvert.cs (44)
339internal static Exception TryVerifyName(string name) { 402internal static Exception TryVerifyNCName(string name) { 426internal static Exception TryVerifyTOKEN(string token) { 463internal static Exception TryVerifyNMTOKEN(string name) { 482internal static Exception TryVerifyNormalizedString(string str) { 825internal static Exception TryToBoolean(string s, out Boolean result) { 855internal static Exception TryToChar(string s, out Char result) { 872internal static Exception TryToDecimal(string s, out Decimal result) { 883internal static Exception TryToInteger(string s, out Decimal result) { 900internal static Exception TryToSByte(string s, out SByte result) { 917internal static Exception TryToInt16(string s, out Int16 result) { 934internal static Exception TryToInt32(string s, out Int32 result) { 951internal static Exception TryToInt64(string s, out Int64 result) { 968internal static Exception TryToByte(string s, out Byte result) { 986internal static Exception TryToUInt16(string s, out UInt16 result) { 1005internal static Exception TryToUInt32(string s, out UInt32 result) { 1023internal static Exception TryToUInt64(string s, out UInt64 result) { 1047internal static Exception TryToSingle(string s, out Single result) { 1083internal static Exception TryToDouble (string s, out double result) { 1163catch (Exception) { 1174internal static Exception TryToTimeSpan(string s, out TimeSpan result) { 1176Exception exception; 1323internal static Exception TryToGuid(string s, out Guid result) { 1324Exception exception = null; 1384internal static Exception TryToUri(string s, out Uri result) { 1587internal static Exception CreateException( string res, ExceptionType exceptionType ) { 1591internal static Exception CreateException( string res, ExceptionType exceptionType, int lineNo, int linePos ) { 1601internal static Exception CreateException( string res, string arg, ExceptionType exceptionType ) { 1605internal static Exception CreateException( string res, string arg, ExceptionType exceptionType, int lineNo, int linePos ) { 1615internal static Exception CreateException( string res, string[] args, ExceptionType exceptionType ) { 1619internal static Exception CreateException(string res, string[] args, ExceptionType exceptionType, int lineNo, int linePos) { 1629internal static Exception CreateInvalidSurrogatePairException( char low, char hi ) { 1633internal static Exception CreateInvalidSurrogatePairException(char low, char hi, ExceptionType exceptionType) { 1637internal static Exception CreateInvalidSurrogatePairException( char low, char hi, ExceptionType exceptionType, int lineNo, int linePos ) { 1645internal static Exception CreateInvalidHighSurrogateCharException( char hi ) { 1649internal static Exception CreateInvalidHighSurrogateCharException( char hi, ExceptionType exceptionType ) { 1653internal static Exception CreateInvalidHighSurrogateCharException(char hi, ExceptionType exceptionType, int lineNo, int linePos) { 1657internal static Exception CreateInvalidCharException(char[] data, int length, int invCharPos) { 1661internal static Exception CreateInvalidCharException(char[] data, int length, int invCharPos, ExceptionType exceptionType) { 1665internal static Exception CreateInvalidCharException( string data, int invCharPos ) { 1669internal static Exception CreateInvalidCharException( string data, int invCharPos, ExceptionType exceptionType ) { 1673internal static Exception CreateInvalidCharException( char invChar, char nextChar ) { 1677internal static Exception CreateInvalidCharException( char invChar, char nextChar, ExceptionType exceptionType) { 1681internal static Exception CreateInvalidNameCharException(string name, int index, ExceptionType exceptionType) {
System\Xml\XmlException.cs (8)
91public XmlException(String message) : this (message, ((Exception)null), 0, 0) { 98public XmlException(String message, Exception innerException) : this (message, innerException, 0, 0) { 102public XmlException(String message, Exception innerException, int lineNumber, int linePosition) : 106internal XmlException(String message, Exception innerException, int lineNumber, int linePosition, string sourceUri) : 132internal XmlException(string res, String arg, Exception innerException, IXmlLineInfo lineInfo) : 160internal XmlException(string res, string[] args, Exception innerException, int lineNumber, int linePosition) : 163internal XmlException(string res, string[] args, Exception innerException, int lineNumber, int linePosition, string sourceUri) : 298internal static bool IsCatchableException(Exception e) {
System\Xml\XmlXapResolver.cs (1)
23throw new XmlException(Res.Xml_XapResolverCannotOpenUri, absoluteUri.ToString(), default(Exception), null);
System\Xml\XPath\Internal\FunctionQuery.cs (1)
71} catch(Exception ex) {
System\Xml\XPath\XPathException.cs (5)
58public XPathException() : this (string.Empty, (Exception) null) {} 60public XPathException(string message) : this (message, (Exception) null) {} 62public XPathException(string message, Exception innerException) : 78internal static XPathException Create(string res, string arg, Exception innerException) { 86private XPathException(string res, string[] args, Exception inner) :
System\Xml\Xslt\XsltException.cs (7)
65public XsltException() : this (string.Empty, (Exception) null) {} 67public XsltException(String message) : this (message, (Exception) null) {} 69public XsltException(String message, Exception innerException) : 77internal static XsltException Create(string res, string[] args, Exception inner) { 81internal XsltException(string res, string[] args, string sourceUri, int lineNumber, int linePosition, Exception inner) 145public XsltCompileException(String message, Exception innerException) : base (message, innerException) {} 147public XsltCompileException(Exception inner, string sourceUri, int lineNumber, int linePosition) :
UIAutomationClient (14)
MS\Internal\Automation\Accessible.cs (3)
57catch (Exception e) 83catch( Exception e ) 115private bool IsCriticalMSAAException(Exception e)
MS\Internal\Automation\FocusTracker.cs (2)
198catch( Exception e ) 267catch( Exception e )
MS\Internal\Automation\InvokeHandlers.cs (1)
108catch (Exception e)
MS\Internal\Automation\Misc.cs (1)
246internal static bool IsCriticalException( Exception e )
MS\Internal\Automation\ProxyManager.cs (1)
716catch( Exception e )
MS\Internal\Automation\QueueProcessor.cs (1)
179catch (Exception e)
MS\Internal\Automation\UiaCoreAPI.cs (2)
1140&& !(arr[1] is Exception) ) 1590catch (Exception)
MS\Internal\Automation\WinEventWrap.cs (2)
213catch( Exception e ) 228catch( Exception ex )
System\Windows\Automation\AutomationElement.cs (1)
625catch (Exception e)
UIAutomationClientsideProviders (35)
MS\Internal\AutomationProxies\Accessible.cs (23)
404catch (Exception e) 503catch (Exception e) 532catch (Exception e) 552catch (Exception e) 610catch (Exception e) 630catch (Exception e) 677catch (Exception e) 739catch (Exception e) 782catch (Exception e) 838catch (Exception e) 895catch (Exception e) 937catch (Exception e) 975catch (Exception e) 1152catch (Exception e) 1187catch (Exception e) 1218catch (Exception e) 1248catch (Exception e) 1264catch (Exception e) 1280catch (Exception e) 1296catch (Exception e) 1313catch (Exception e) 1331catch (Exception e) 1352private static bool HandleIAccessibleException(Exception e)
MS\Internal\AutomationProxies\Misc.cs (2)
821internal static bool IsCriticalException(Exception e) 1855catch (Exception ex)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
1238catch (Exception e)
MS\Internal\AutomationProxies\MSAAWinEventWrap.cs (2)
148catch (Exception e) 165catch (Exception e)
MS\Internal\AutomationProxies\QueueProcessor.cs (1)
139catch( Exception e )
MS\Internal\AutomationProxies\WindowsListViewItemStartMenu.cs (1)
109catch (Exception e)
MS\Internal\AutomationProxies\WinEventTracker.cs (5)
176catch (Exception e) 276catch (Exception e) 321catch (Exception e) 339catch (Exception e) 497catch (Exception e)
WindowsBase (64)
Base\MS\Internal\AvTrace.cs (1)
474catch( Exception e )
Base\MS\Internal\CriticalExceptions.cs (4)
21internal static bool IsCriticalException(Exception ex) 37internal static bool IsCriticalApplicationException(Exception ex) 51internal static Exception Unwrap(Exception ex)
Base\MS\Internal\Interop\ErrorCodes.cs (5)
391Exception e = GetException(message); 399public Exception GetException() 410public Exception GetException(string message) 427Exception e = Marshal.GetExceptionForHR((int)_value, new IntPtr(-1)); 467e = cons.Invoke(new object[] { message }) as Exception;
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
667private void ThrowForInvalidAttributeValue(XmlCompatibilityReader reader, String attributeName, Exception ex)
Base\MS\Internal\Security\RightsManagement\CallbackHandler.cs (2)
107catch (Exception e) 142private Exception _exception;
Base\MS\Internal\Security\RightsManagement\Errors.cs (1)
85catch (Exception e)
Base\MS\Internal\Threading\ExceptionFilterHelper.cs (3)
18internal delegate bool FilterExceptionDelegate(object source, Exception e); 19internal delegate bool CatchExceptionDelegate(object source, Exception e, Delegate catchHandler); 47catch (Exception e) when (_filterException.Invoke(source, e))
Base\MS\Internal\Threading\ExceptionWrapper.cs (5)
39catch (Exception e) when (FilterException(source, e)) 141private bool FilterException(object source, Exception e) 155private bool CatchException(object source, Exception e, Delegate catchHandler) 180public delegate bool CatchHandler(object source, Exception e); 189public delegate bool FilterHandler(object source, Exception e);
Base\MS\Internal\WeakEventTable.cs (1)
427catch (Exception ex) when (!CriticalExceptions.IsCriticalException(ex))
Base\System\IO\FileFormatException.cs (3)
55public FileFormatException(string message, Exception innerException) 101public FileFormatException(Uri sourceUri, Exception innerException) 122public FileFormatException(Uri sourceUri, String message, Exception innerException)
Base\System\IO\Packaging\CompoundFile\StorageInfo.cs (1)
869catch(Exception e)
Base\System\IO\Packaging\PackUriHelper.cs (8)
592Exception exception = GetExceptionIfPartUriInvalid(partUri, out partUriString); 627Exception exception = GetExceptionIfPartUriInvalid(partUri, out partUriString); 770private static Exception GetExceptionIfPartUriInvalid(Uri partUri, out string partUriString) 777Exception argumentException = null; 832Exception exception = GetExceptionIfAbsoluteUri(uri); 847Exception exception = GetExceptionIfFragmentPresent(partName); 862Exception exception = GetExceptionIfPartNameEndsWithSlash(partName); 879Exception exception = GetExceptionIfPartNameStartsWithTwoSlashes(partName);
Base\System\Security\RightsManagement\Exceptions.cs (3)
57public RightsManagementException(string message, Exception innerException) : 103public RightsManagementException(RightsManagementFailureCode failureCode, Exception innerException) : 122public RightsManagementException(RightsManagementFailureCode failureCode, string message, Exception innerException) :
Base\System\Windows\Data\DataSourceProvider.cs (6)
129public Exception Error 284protected virtual void OnQueryFinished(object newData, Exception error, 364Exception error = (Exception) args[1]; 374private void UpdateWithNewResult(Exception error, object newData, DispatcherOperationCallback completionWork, object callbackArgs) 441private Exception _error;
Base\System\Windows\Threading\Dispatcher.cs (4)
3015private static bool ExceptionFilterStatic(object source, Exception e) 3025private bool ExceptionFilter(Exception e) 3077private static bool CatchExceptionStatic(object source, Exception e) 3084private bool CatchException(Exception e)
Base\System\Windows\Threading\DispatcherExceptionEventArgs.cs (3)
49public Exception Exception 103internal void Initialize(Exception exception, bool handled) 116private Exception _exception;
Base\System\Windows\Threading\DispatcherExceptionFilterEventArgs.cs (3)
53public Exception Exception 115internal void Initialize(Exception exception, bool requestCatch) 128private Exception _exception;
Base\System\Windows\Threading\DispatcherOperation.cs (2)
574catch(Exception e) 752private Exception _exception;
Base\System\Windows\Threading\DispatcherOperationTaskSource.cs (2)
15public abstract void SetException(Exception exception); 62public override void SetException(Exception exception)
Shared\MS\Internal\ReaderWriterLockSlimWrapper.cs (1)
283catch (Exception e)
Shared\MS\Internal\SecurityHelper.cs (2)
924internal static Exception GetExceptionForHR(int hr) 951internal static int GetHRForException(Exception exception)
Shared\MS\Utility\TraceProvider.cs (1)
497catch(Exception e)
Shared\MS\Win32\SafeNativeMethodsCLR.cs (1)
558catch (Exception e) when (e is Win32Exception || e is SEHException)
Shared\System\Windows\Markup\ReflectionHelper.cs (1)
70catch (Exception e) // Load throws generic Exceptions, so this can't be made more specific.
WsatConfig (21)
CommandLine\ArgumentsParser.cs (1)
395catch (Exception e)
CommandLine\ConsoleEntryPoint.cs (2)
62catch (Exception e) 144catch (Exception e)
Configuration\ClusterRegistryConfigurationProvider.cs (1)
343catch (Exception e)
Configuration\RegistryExceptionHelper.cs (6)
69public WsatAdminException CreateRegistryAccessException(Exception innerException) 74public WsatAdminException CreateRegistryAccessException(string subRegistryKey, Exception innerException) 79static WsatAdminException DoCreateRegistryAccessException(string regKey, Exception innerException) 88public WsatAdminException CreateRegistryWriteException(Exception innerException) 93public WsatAdminException CreateRegistryWriteException(string subRegistryKey, Exception innerException) 98static WsatAdminException DoCreateRegistryWriteException(string regKey, Exception innerException)
Configuration\RemoteHelper.cs (1)
114catch (Exception e)
Configuration\StdRegProviderWrapper.cs (4)
180catch (Exception e) 219catch (Exception e) 251catch (Exception e) 274catch (Exception e)
Configuration\Utilities.cs (2)
71catch (Exception ex) 224internal static bool IsCriticalException(Exception e)
Configuration\WsatAdminException.cs (1)
19internal WsatAdminException(WsatAdminErrorCode errCode, string errMessage, Exception innerException)
Configuration\WsatConfiguration.cs (3)
461catch (Exception e) 685catch (Exception e) 725catch (Exception e)
WsatUI (22)
Configuration\ClusterRegistryConfigurationProvider.cs (1)
343catch (Exception e)
Configuration\ETWWsatTraceSession.cs (1)
220catch (Exception e)
Configuration\RegistryExceptionHelper.cs (6)
69public WsatAdminException CreateRegistryAccessException(Exception innerException) 74public WsatAdminException CreateRegistryAccessException(string subRegistryKey, Exception innerException) 79static WsatAdminException DoCreateRegistryAccessException(string regKey, Exception innerException) 88public WsatAdminException CreateRegistryWriteException(Exception innerException) 93public WsatAdminException CreateRegistryWriteException(string subRegistryKey, Exception innerException) 98static WsatAdminException DoCreateRegistryWriteException(string regKey, Exception innerException)
Configuration\RemoteHelper.cs (1)
114catch (Exception e)
Configuration\StdRegProviderWrapper.cs (4)
180catch (Exception e) 219catch (Exception e) 251catch (Exception e) 274catch (Exception e)
Configuration\Utilities.cs (2)
71catch (Exception ex) 224internal static bool IsCriticalException(Exception e)
Configuration\WsatAdminException.cs (1)
19internal WsatAdminException(WsatAdminErrorCode errCode, string errMessage, Exception innerException)
Configuration\WsatConfiguration.cs (3)
461catch (Exception e) 685catch (Exception e) 725catch (Exception e)
MMCUI\WSATPropertySheet.cs (3)
164catch (Exception ex) 434catch (Exception ex) 458catch (Exception ex)
XamlBuildTask (19)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (1)
320catch (Exception e)
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (1)
554Exception LogInvalidOperationException(XamlReader reader, string exceptionMessage)
Microsoft\Build\Tasks\Xaml\CompilationPass2Task.cs (1)
176catch (Exception e)
Microsoft\Build\Tasks\Xaml\CompilationPass2TaskInternal.cs (4)
234catch (Exception e) 257catch (Exception e) 278catch (Exception e) 344catch (Exception e)
Microsoft\Build\Tasks\Xaml\GenerateTemporaryAssemblyTask.cs (1)
126catch (Exception e)
Microsoft\Build\Tasks\Xaml\LoggableException.cs (1)
49public LoggableException(Exception innerException)
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTask.cs (2)
188catch (Exception e) 228catch (Exception e)
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (3)
342catch (Exception e) 372catch (Exception e) 558catch (Exception e)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskLeaseLifetimeHelper.cs (1)
64catch (Exception ex)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (3)
653catch (Exception e) 678catch (Exception e) 707catch (Exception e)
Microsoft\Build\Tasks\Xaml\XamlValidatingReader.cs (1)
90catch (Exception e)