wip
This commit is contained in:
parent
0dc41337da
commit
14fd359ea8
28 changed files with 156 additions and 52 deletions
|
@ -16,6 +16,6 @@ public abstract class Entity
|
|||
protected void CheckRule(IRule rule)
|
||||
{
|
||||
if (!rule.Check())
|
||||
throw new RuleBrokenException(rule.Message);
|
||||
throw new RuleBrokenError(rule.Message);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue