Permalink
Browse files

examples throw exception instead of exiting

  • Loading branch information...
andytaylor committed Dec 20, 2012
1 parent 3cba20b commit 6c512bffc976e6e17d765b16c3f332a54bd205b7
@@ -211,7 +211,7 @@ private void reportResultAndExit()
System.err.println("#####################");
System.err.println("### FAILURE! ###");
System.err.println("#####################");
- System.exit(1);
+ throw new RuntimeException("failure in running example");
}
else
{

0 comments on commit 6c512bf

Please sign in to comment.