make actor-related exceptions be case classes for matching
This commit is contained in:
parent
5ffdd69bce
commit
a19df590a7
6 changed files with 54 additions and 25 deletions
|
|
@ -148,7 +148,7 @@ class CallingThreadDispatcher(
|
|||
val queue = mbox.queue
|
||||
queue.enter
|
||||
runQueue(mbox, queue)
|
||||
case x ⇒ throw new ActorInitializationException("expected CallingThreadMailbox, got " + x.getClass)
|
||||
case x ⇒ throw ActorInitializationException("expected CallingThreadMailbox, got " + x.getClass)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue