Work on Attestation, Concurrency. Db0017.

This commit is contained in:
Rick Falkvinge
2015-04-05 11:04:30 +02:00
parent 151b2ba201
commit e3d6f40fb2
17 changed files with 311 additions and 64 deletions
+12
View File
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Swarmops.Common.Exceptions
{
public class ConcurrencyException: Exception
{
}
}
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Swarmops.Common.Exceptions
{
/// <summary>
/// Thrown when another session captured the item being modified before this session could
/// execute its transaction. This happens but must be handled gracefully.
/// </summary>
public class DatabaseConcurrencyException: ConcurrencyException
{
}
}