288 references to Exception
mscorlib (18)
system\AggregateException.cs (2)
45: base(Environment.GetResourceString("AggregateException_ctor_DefaultMessage")) 56: base(message)
system\applicationexception.cs (2)
35: base(Environment.GetResourceString("Arg_ApplicationException")) { 44: base(message) {
system\deployment\isolationinterop.cs (1)
2555throw new Exception("How did you get here?");
system\diagnostics\eventing\eventsourceexception.cs (2)
35public EventSourceException() : base(Environment.GetResourceString("EventSource_ListenerWriteFailure")) { } 40public EventSourceException(string message) : base(message) { }
system\invalidtimezoneexception.cs (1)
16: base(message) { }
system\io\isolatedstorage\isolatedstorageexception.cs (2)
31: base(Environment.GetResourceString("IsolatedStorage_Exception")) 37: base(message)
system\runtime\compilerservices\RuntimeWrappedException.cs (1)
27: base(Environment.GetResourceString("RuntimeWrappedException")) {
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1085e = new Exception(message);
system\systemexception.cs (2)
15: base(Environment.GetResourceString("Arg_SystemException")) { 20: base(message) {
system\threading\lockrecursionexception.cs (1)
33public LockRecursionException(string message) : base(message) { }
system\threading\Tasks\TaskSchedulerException.cs (2)
33public TaskSchedulerException() : base(Environment.GetResourceString("TaskSchedulerException_ctor_DefaultMessage")) // 42public TaskSchedulerException(string message) : base(message)
system\timezonenotfoundexception.cs (1)
16: base(message) { }
PresentationBuildTasks (1)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
764Exception compilerException = new Exception(message);
PresentationCore (2)
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatterContext.cs (1)
488throw new Exception(message);
Shared\System\Windows\Interop\OSVersionHelper.cs (1)
344throw new Exception("OSVersionHelper.GetOsVersion Could not detect OS!");
PresentationFramework (93)
src\Framework\MS\Internal\PtsHost\Pts.cs (1)
310internal PtsException(string s) : base(s) { }
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\Controls\PrintDialogException.cs (1)
33: base(message)
src\Framework\System\Windows\Standard\NativeMethods.cs (1)
1644throw new Exception("Unable to initialize GDI+");
System (7)
net\System\Net\mail\SmtpException.cs (4)
79public SmtpException(SmtpStatusCode statusCode) : base(GetMessageForStatus(statusCode)) 84public SmtpException(SmtpStatusCode statusCode, string message) : base(message) 93public SmtpException(string message) : base(message) 107internal SmtpException(SmtpStatusCode statusCode, string serverMessage, bool serverResponse) : base(GetMessageForStatus(statusCode,serverMessage))
sys\system\configuration\SettingsPropertyIsReadOnlyException.cs (1)
19: base(message)
sys\system\configuration\SettingsPropertyNotFoundException.cs (1)
21: base(message)
sys\system\configuration\SettingsPropertyWrongTypeException.cs (1)
18: base(message)
System.Activities (12)
System\Activities\DynamicUpdate\InstanceUpdateException.cs (2)
26: base(message) 41: base(message)
System\Activities\ExpressionParser\SourceExpressionException.cs (2)
26: base(message) 36: base(message)
System\Activities\Expressions\LambdaSerializationException.cs (1)
19: base(message)
System\Activities\InvalidWorkflowException.cs (1)
21: base(message)
System\Activities\Statements\WorkflowTerminatedException.cs (1)
19: base(message)
System\Activities\VersionMismatchException.cs (3)
21: base(message) 31: base(GetMessage(expectedVersion, actualVersion)) 38: base(message)
System\Activities\WorkflowApplicationException.cs (2)
25: base(message) 30: base(message)
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\AttributeTableValidationException.cs (2)
37: base(message) 57: base(message)
System.AddIn (3)
System\Addin\Hosting\AddInSegmentDirectoryNotFoundException.cs (1)
16: base(message) { }
System\Addin\Hosting\AddInStore.cs (1)
1520: base(message) { }
System\Addin\Hosting\InvalidPipelineStoreException.cs (1)
16: base(message) { }
System.ComponentModel.DataAnnotations (2)
DataAnnotations\ValidationException.cs (2)
64: base(errorMessage) { 86: base(message) { }
System.Configuration (1)
System\Configuration\ProviderException.cs (1)
17: base( message )
System.Core (2)
System\Diagnostics\Eventing\Reader\EventLogException.cs (1)
57public EventLogException(string message) : base(message) { }
System\Management\Automation\Exceptions.cs (1)
19: base(message)
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\AttributeTableValidationException.cs (2)
37: base(message) 57: base(message)
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 (2)
Exceptions.cs (1)
15public ChangeConflictException(string message) : base(message) { }
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.IdentityModel (4)
System\IdentityModel\AsynchronousOperationException.cs (1)
29: base(message)
System\IdentityModel\Metadata\MetadataSerializationException.cs (1)
30: base(message)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationException.cs (1)
31: base(message)
System\IdentityModel\RequestException.cs (1)
28: base( message )
System.IdentityModel.Selectors (12)
infocard\client\System\IdentityModel\Selectors\CardSpaceException.cs (1)
72: base(message)
infocard\client\System\IdentityModel\Selectors\IdentityValidationException.cs (1)
20: base( message )
infocard\client\System\IdentityModel\Selectors\InfoCardBaseException.cs (2)
24: base( message ) 30: base( message )
infocard\client\System\IdentityModel\Selectors\PolicyValidationException.cs (1)
24: base( message )
infocard\client\System\IdentityModel\Selectors\ServiceBusyException.cs (1)
24: base( message )
infocard\client\System\IdentityModel\Selectors\ServiceNotStartedException.cs (1)
23: base( message )
infocard\client\System\IdentityModel\Selectors\StsCommunicationException.cs (1)
22: base( message )
infocard\client\System\IdentityModel\Selectors\UIInitializationException.cs (1)
24: base( message )
infocard\client\System\IdentityModel\Selectors\UnsupportedPolicyOptionsException.cs (1)
24: base( message )
infocard\client\System\IdentityModel\Selectors\UntrustedRecipientException.cs (1)
24: base( message )
infocard\client\System\IdentityModel\Selectors\UserCancellationException.cs (1)
23: base( message )
System.IO.Log (1)
System\IO\Log\SequenceFullException.cs (1)
18: base(message)
System.Management (3)
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.Net (1)
net\PeerToPeer\PeerToPeerException.cs (1)
40public PeerToPeerException(string message) : base(message) { }
System.Runtime.DurableInstancing (3)
System\Runtime\DurableInstancing\InstancePersistenceException.cs (3)
18: base(ToMessage(null)) 23: base(message) 43: base(message)
System.Runtime.Remoting (2)
metadata\sudsparser.cs (1)
32: base(message)
metadata\sudswriter.cs (1)
31 : base(msg)
System.Runtime.Serialization (1)
System\Runtime\Serialization\InvalidDataContractException.cs (1)
18: base(message)
System.ServiceModel (3)
System\ServiceModel\Channels\InvalidChannelBindingException.cs (1)
14public InvalidChannelBindingException(string message) : base(message) { }
System\ServiceModel\ComIntegration\Error.cs (1)
143: base(message)
System\ServiceModel\Description\OperationGenerator.cs (1)
1047public ParameterModeException(string message) : base(message) { }
System.Web (2)
Hosting\HostingEnvironmentException.cs (1)
27internal HostingEnvironmentException(String message, String details) : base(message) {
Util\AppVerifierException.cs (1)
18: base(message) {
System.Web.ApplicationServices (3)
Security\MembershipCreateUserException.cs (2)
18: base(GetMessageFromStatusCode(statusCode)) { 23: base(message) { }
Security\MembershipPasswordException.cs (1)
19public MembershipPasswordException(String message) : base(message)
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.Entity (2)
System\Data\WebControls\EntityDataSourceValidationException.cs (2)
43: base(message) 65: base(message)
System.Web.Extensions (5)
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))));
UI\WebControls\Dynamic.cs (1)
425: base(message) {
UI\WebControls\LinqDataSourceValidationException.cs (2)
24public LinqDataSourceValidationException() : base(AtlasWeb.LinqDataSourceValidationException_ValidationFailed) { 27public LinqDataSourceValidationException(string message) : base(message) {
System.Web.Mobile (1)
Mobile\DeviceFilterDictionary.cs (1)
76throw new Exception(msg);
System.Web.Services (1)
System\Web\Services\Discovery\InvalidContentTypeException.cs (1)
15internal InvalidContentTypeException(string message, string contentType) : base(message) {
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 (13)
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"));
Rules\Exceptions.cs (1)
33: base(message)
WebServiceReceive.cs (1)
889throw new Exception(SR.GetString(SR.Error_InterfaceTypeNotInterface, "InterfaceType"));
System.Workflow.ComponentModel (67)
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\ActivityInterfaces.cs (2)
187: base(SR.GetString(SR.Error_WorkflowTerminated)) 192: base(message)
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 (1)
460throw new Exception(TypeSystemSR.GetString(CultureInfo.CurrentCulture, "Error_TypeResolution", name));
AuthoringOM\Compiler\Validation\BindValidator.cs (1)
527throw new Exception(SR.GetString(SR.Error_DelegateNoInvoke, validationBindContext.TargetType.FullName));
AuthoringOM\Compiler\Validation\WorkflowValidationFailedException.cs (3)
27: base(SR.GetString(SR.Error_WorkflowLoadValidationFailed)) 32: base(message) 42: base(message)
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\ActivityPreviewDesigner.cs (1)
739throw new Exception(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Design\CommandSet.cs (1)
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\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 (2)
1167throw new Exception(DR.GetString(DR.CustomStyleNotSupported)); 2211throw new Exception(DR.GetString(DR.EmptyFontFamilyNotSupported));
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\WorkflowMarkupSerializationException.cs (2)
32: base(message) 51: base(message)
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.Workflow.Runtime (2)
WorkflowOwnershipException.cs (2)
36: base(message) 50: base(message)
WindowsBase (4)
Base\System\Security\RightsManagement\Exceptions.cs (3)
47public RightsManagementException(string message) : base(message) 70base(Errors.GetLocalizedFailureCodeMessageWithDefault(failureCode)) 88base(message)
Shared\System\Windows\InterOp\OSVersionHelper.cs (1)
344throw new Exception("OSVersionHelper.GetOsVersion Could not detect OS!");
WsatConfig (1)
Configuration\WsatAdminException.cs (1)
14: base(errMessage)
WsatUI (1)
Configuration\WsatAdminException.cs (1)
14: base(errMessage)
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\LoggableException.cs (1)
45: base(message)