SPRNET-1239 - Check for package cycles with NDepend

This commit is contained in:
markpollack
2009-07-30 06:26:58 +00:00
parent ae883e3c0c
commit dfe7fa4731
6 changed files with 6 additions and 11 deletions

View File

@@ -252,7 +252,7 @@ namespace Spring.Data.Common
{
return parameter.Value;
}
throw new UncategorizedAdoException(
throw new InvalidDataAccessApiUsageException(
"object in IDataParameterCollection is not of the type IDataParameter, it is type [" +
dataParameterCollection[dbProvider.CreateParameterNameForCollection(name)].GetType() + "].");
}

View File

@@ -277,7 +277,7 @@ namespace Spring.Data
return defaultDbProvider;
}
throw new InvalidDataAccessApiUsageException("'" + dbProviderName + "'"
+ "was not under the thread local key 'dbProviderName'");
+ "was not under the thread local key 'dbProviderName' and no default IDbProvider was set.");
}
/// <summary>

View File

@@ -23,7 +23,6 @@ using System.Collections;
using System.Messaging;
using Common.Logging;
using Spring.Context;
using Spring.Messaging.Support;
using Spring.Messaging.Support.Converters;
using Spring.Objects.Factory;
using Spring.Objects.Factory.Config;

View File

@@ -24,7 +24,6 @@ using Common.Logging;
using Spring.Context;
using Spring.Expressions;
using Spring.Messaging.Core;
using Spring.Messaging.Support;
using Spring.Messaging.Support.Converters;
using Spring.Objects.Factory;
using Spring.Reflection.Dynamic;

View File

@@ -23,7 +23,6 @@ using System.Messaging;
using Common.Logging;
using Spring.Data.Core;
using Spring.Messaging.Core;
using Spring.Messaging.Support;
using Spring.Transaction;
using Spring.Transaction.Support;

View File

@@ -22,12 +22,11 @@ using System;
using System.Collections;
using System.Messaging;
using Spring.Context;
using Spring.Messaging.Core;
using Spring.Messaging.Support.Converters;
using Spring.Objects.Factory.Support;
using Spring.Transaction.Support;
namespace Spring.Messaging.Support
namespace Spring.Messaging.Core
{
/// <summary>
/// Utility methods to support Spring's MSMQ functionality
@@ -116,12 +115,11 @@ namespace Spring.Messaging.Support
public void BeforeCommit(bool readOnly)
{
throw new NotImplementedException();
}
public void AfterCommit()
{
throw new NotImplementedException();
}
public void BeforeCompletion()
@@ -129,12 +127,12 @@ namespace Spring.Messaging.Support
TransactionSynchronizationManager.UnbindResource(resourceKey);
holderActive = false;
//this.resourceHolder.closeAll();
throw new NotImplementedException();
//TODO SPRNET-1244
}
public void AfterCompletion(TransactionSynchronizationStatus status)
{
throw new NotImplementedException();
//TODO SPRNET-1244
}
#endregion