Permalink
Browse files

re throwing exception instead of calling system.exit

  • Loading branch information...
1 parent 037ec7d commit 985295704f0fbda2dbe8301e3c78185f6320539e @csokol csokol committed Feb 28, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/main/java/br/com/caelum/tubaina/TubainaBuilder.java
View
3 src/main/java/br/com/caelum/tubaina/TubainaBuilder.java
@@ -65,8 +65,7 @@ public void build() throws IOException {
if (dontCare) {
LOG.warn(e);
} else {
- e.printStackTrace();
- System.exit(-1);
+ throw e;
}
}

0 comments on commit 9852957

Please sign in to comment.