diff options
| author | 2015-12-16 17:08:53 +0000 | |
|---|---|---|
| committer | 2015-12-16 17:08:53 +0000 | |
| commit | 9ddcbf69cfa807790e324f7f54e1931bc66d0f5c (patch) | |
| tree | f7cefbd01d996410fd391ecd8c97e638cabe6b73 | |
| parent | 27f114df49c5e99bb7712310f153eae089ae15a2 (diff) | |
| parent | 64daeddb621ec4879d6a723a4748dd8b11023607 (diff) | |
Merge "Make the 008-exceptions test print everything to stdout"
| -rw-r--r-- | test/008-exceptions/src/Main.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/008-exceptions/src/Main.java b/test/008-exceptions/src/Main.java index 9e3477a47b..b8231f12bd 100644 --- a/test/008-exceptions/src/Main.java +++ b/test/008-exceptions/src/Main.java @@ -60,7 +60,7 @@ public class Main { } catch (NullPointerException npe) { System.out.print("Got an NPE: "); System.out.println(npe.getMessage()); - npe.printStackTrace(); + npe.printStackTrace(System.out); } } public static void main (String args[]) { @@ -103,7 +103,7 @@ public class Main { System.out.println(e.getCause()); } } catch (Exception error) { - error.printStackTrace(); + error.printStackTrace(System.out); } } @@ -126,7 +126,7 @@ public class Main { System.out.println(e.getCause()); } } catch (Exception error) { - error.printStackTrace(); + error.printStackTrace(System.out); } } } |