title: Return to previous spot in loop after try catch?
body: <pre><code>        } else if (selectionKey == 2) {
              System.out.println("Please enter the item name");
              if (s.nextLine() != "") {
                  item = s.nextLine();
              }
              try {
              ZybezChecker zb = new ZybezChecker(item);
              zb.getAveragePrice();
              System.out.println(zb.toString());
              } catch(Exception e) {
                  System.out.println("Something went wrong. Perhaps an invalid item name?");
              }
  </code></pre>
  
  <p>That's my code atm. How do I return back to the if statement and continue the loop after it catches?</p>