void match(RestCall rc) throws RestCallException { try { Matcher m = pattern.matcher(rc.getCapturedResponse()); boolean found = false; while (m.find()) { onMatch(rc, m); found = true; } if (! found) onNoMatch(rc); } catch (IOException e) { throw new RestCallException(e); } }
void match(RestCall rc) throws RestCallException { try { Matcher m = pattern.matcher(rc.getCapturedResponse()); boolean found = false; while (m.find()) { onMatch(rc, m); found = true; } if (! found) onNoMatch(rc); } catch (IOException e) { throw new RestCallException(e); } }
void match(RestCall rc) throws RestCallException { try { Matcher m = pattern.matcher(rc.getCapturedResponse()); boolean found = false; while (m.find()) { onMatch(rc, m); found = true; } if (! found) onNoMatch(rc); } catch (IOException e) { throw new RestCallException(e); } }