mirror of
https://github.com/DCFApixels/DragonECS-ClassicThreads.git
synced 2025-09-17 19:24:37 +08:00
update exceptions
This commit is contained in:
parent
e0ec9c310f
commit
b03c0480d1
@ -2,11 +2,14 @@
|
||||
|
||||
namespace DCFApixels.DragonECS
|
||||
{
|
||||
public static class EcsThrowHalper_ClassicThreads
|
||||
namespace ClassicThreadsInternal
|
||||
{
|
||||
internal static void DoubleParallelIteration(this EcsThrowHalper _)
|
||||
internal static class Throw
|
||||
{
|
||||
internal static void DoubleParallelIteration()
|
||||
{
|
||||
throw new InvalidOperationException("It is forbidden to start a parallel iteration before the last one is finished.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
using DCFApixels.DragonECS.ClassicThreadsInternal;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using static DCFApixels.DragonECS.EcsThrowHalper;
|
||||
|
||||
namespace DCFApixels.DragonECS
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user