Work on Attestation, Concurrency. Db0017.
This commit is contained in:
@@ -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
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user