code: public void setThreadIDs(String[] threadIDs) throws IllegalArgumentException {
          int[] threads = null;
          if (threadIDs != null) {
              threads = new int[threadIDs.length];
              try {
                  for (int i = 0; i < threads.length; i++) {
                      threads[i] = Integer.parseInt(threadIDs[i], 16);
                  }
              } catch (NumberFormatException ex) {
                  throw new IllegalArgumentException("Strings in the threadIDs array should be all in hexadecimal format");
              }
          }
          this.threadIDs = threads;
      }
docs: sets string array, each string representing the hex value of a thread to search on
  
  @param threadIDs array of thread ids (hex) (null if not filtering on threadId)
  @throws IllegalArgumentException if strings contain something other than hexadecimal values.