First stab, do we want to go for throws Throwable or even just switch to RuntimeExceptions?

This commit is contained in:
Viktor Klang 2012-02-16 12:31:49 +01:00
parent 6af612153e
commit e88f2bd936
11 changed files with 45 additions and 38 deletions

View file

@ -55,7 +55,7 @@ public class CustomRouterDocTestBase {
//#crTest
@Test
public void countVotesAsIntendedNotAsInFlorida() {
public void countVotesAsIntendedNotAsInFlorida() throws Exception {
ActorRef routedActor = system.actorOf(new Props().withRouter(new VoteCountRouter()));
routedActor.tell(DemocratVote);
routedActor.tell(DemocratVote);