diff --git a/src/main/java/dev/struchkov/example/debugger/two/FooService.java b/src/main/java/dev/struchkov/example/debugger/two/FooService.java index 2f5a351..dc726f5 100644 --- a/src/main/java/dev/struchkov/example/debugger/two/FooService.java +++ b/src/main/java/dev/struchkov/example/debugger/two/FooService.java @@ -1,12 +1,19 @@ package dev.struchkov.example.debugger.two; import dev.struchkov.example.debugger.box.SurpriseBox; +import dev.struchkov.example.debugger.box.SurpriseException; public class FooService { public void example() { for (int i = 0; i < 1000; i++) { SurpriseBox.surpriseOne(i); + +// try { +// SurpriseBox.surpriseOne(i); +// } catch (SurpriseException e) { +// System.err.println(e.getMessage()); +// } } }