Added assert for if message is NULL
This commit is contained in:
parent
dbad1f461f
commit
2245af767a
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ final class MessageInvocation(val receiver: ActorRef,
|
|||
val senderFuture: Option[CompletableFuture[Any]],
|
||||
val transactionSet: Option[CountDownCommitBarrier]) {
|
||||
if (receiver eq null) throw new IllegalArgumentException("receiver is null")
|
||||
if (message eq null) throw new IllegalArgumentException("message is null")
|
||||
|
||||
def invoke = receiver.invoke(this)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue