[java] How can I break from a try/catch block without throwing an exception in Java