mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
assert exception parameter is not null in throw_
This commit is contained in:
parent
8fb9523de5
commit
874890e317
@ -2597,6 +2597,7 @@ inline void NO_RETURN
|
||||
throw_(Thread* t, object e)
|
||||
{
|
||||
assert(t, t->exception == 0);
|
||||
assert(t, e);
|
||||
|
||||
expect(t, not t->checkpoint->noThrow);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user