There are similar threadByName and threadByNameOrThrow in nsk/share/jdi/Debugee.java
threadByName returns null or throw TestBug if there are more than 1 such method found
threadByNameOrThrow throws JDITestRuntimeException if thread not found.
Need to check if it is possible to merge them into single method which allow one and only on thread
threadByName returns null or throw TestBug if there are more than 1 such method found
threadByNameOrThrow throws JDITestRuntimeException if thread not found.
Need to check if it is possible to merge them into single method which allow one and only on thread