Skip to content

Commit

Permalink
examples throw exception instead of exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
andytaylor committed Dec 20, 2012
1 parent 3cba20b commit 6c512bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 6c512bf

Please sign in to comment.