First stab, do we want to go for throws Throwable or even just switch to RuntimeExceptions?
This commit is contained in:
parent
6af612153e
commit
e88f2bd936
11 changed files with 45 additions and 38 deletions
|
|
@ -18,7 +18,7 @@ import akka.dispatch.Await;
|
|||
|
||||
//#parentActor
|
||||
public class ParentActor extends UntypedActor {
|
||||
public void onReceive(Object msg) {
|
||||
public void onReceive(Object msg) throws Exception {
|
||||
if (msg.equals("rrr")) {
|
||||
//#roundRobinRouter
|
||||
ActorRef roundRobinRouter = getContext().actorOf(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue