diff --git a/src/Spring/Spring.Data.NHibernate/Data/NHibernate/Support/SessionScopeSettings.cs b/src/Spring/Spring.Data.NHibernate/Data/NHibernate/Support/SessionScopeSettings.cs index 76523890..35f575c3 100644 --- a/src/Spring/Spring.Data.NHibernate/Data/NHibernate/Support/SessionScopeSettings.cs +++ b/src/Spring/Spring.Data.NHibernate/Data/NHibernate/Support/SessionScopeSettings.cs @@ -202,7 +202,7 @@ namespace Spring.Data.NHibernate.Support /// protected virtual ISessionFactory ResolveSessionFactory() { - throw new NotImplementedException("you need to override this method to resolve an ISessionFactory instance"); + throw new NotSupportedException("you need to override this method to resolve an ISessionFactory instance"); } } } \ No newline at end of file diff --git a/src/Spring/Spring.Messaging/Messaging/Listener/TransactionalMessageListenerContainer.cs b/src/Spring/Spring.Messaging/Messaging/Listener/TransactionalMessageListenerContainer.cs index af443c36..1da569ca 100644 --- a/src/Spring/Spring.Messaging/Messaging/Listener/TransactionalMessageListenerContainer.cs +++ b/src/Spring/Spring.Messaging/Messaging/Listener/TransactionalMessageListenerContainer.cs @@ -278,7 +278,7 @@ namespace Spring.Messaging.Listener //NonTransactionalMessageListenerContainer and having the database //transaction done in the service tier. - throw new NotImplementedException("Try using NonTransactionalMessageListenerContainer instead."); + throw new NotSupportedException("Try using NonTransactionalMessageListenerContainer instead."); } /// diff --git a/src/Spring/Spring.Scheduling.Quartz/Scheduling/Quartz/SpringDbProviderAdapter.cs b/src/Spring/Spring.Scheduling.Quartz/Scheduling/Quartz/SpringDbProviderAdapter.cs index 66202081..b4bc9067 100644 --- a/src/Spring/Spring.Scheduling.Quartz/Scheduling/Quartz/SpringDbProviderAdapter.cs +++ b/src/Spring/Spring.Scheduling.Quartz/Scheduling/Quartz/SpringDbProviderAdapter.cs @@ -153,7 +153,7 @@ namespace Spring.Scheduling.Quartz public override string ProductName { get { return metadata.ProductName; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -163,7 +163,7 @@ namespace Spring.Scheduling.Quartz public override Type ConnectionType { get { return metadata.ConnectionType; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -173,7 +173,7 @@ namespace Spring.Scheduling.Quartz public override Type CommandType { get { return metadata.CommandType; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -183,7 +183,7 @@ namespace Spring.Scheduling.Quartz public override Type ParameterType { get { return metadata.ParameterType; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -193,7 +193,7 @@ namespace Spring.Scheduling.Quartz public override Type CommandBuilderType { get { return metadata.CommandBuilderType; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -203,7 +203,7 @@ namespace Spring.Scheduling.Quartz public override MethodInfo CommandBuilderDeriveParametersMethod { get { return metadata.CommandBuilderDeriveParametersMethod; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -213,7 +213,7 @@ namespace Spring.Scheduling.Quartz public override string ParameterNamePrefix { get { return metadata.ParameterNamePrefix; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -223,7 +223,7 @@ namespace Spring.Scheduling.Quartz public override Type ExceptionType { get { return metadata.ExceptionType; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -233,7 +233,7 @@ namespace Spring.Scheduling.Quartz public override bool BindByName { get { return metadata.BindByName; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -243,7 +243,7 @@ namespace Spring.Scheduling.Quartz public override Type ParameterDbType { get { return metadata.ParameterDbType; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -253,7 +253,7 @@ namespace Spring.Scheduling.Quartz public override PropertyInfo ParameterDbTypeProperty { get { return metadata.ParameterDbTypeProperty; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -263,7 +263,7 @@ namespace Spring.Scheduling.Quartz public override PropertyInfo ParameterIsNullableProperty { get { return metadata.ParameterIsNullableProperty; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } /// @@ -284,7 +284,7 @@ namespace Spring.Scheduling.Quartz public override bool UseParameterNamePrefixInParameterCollection { get { return metadata.UseParameterNamePrefixInParameterCollection; } - set { throw new NotImplementedException(); } + set { throw new NotSupportedException(); } } }