(String uri, String query, int index)
| 449 | } |
| 450 | |
| 451 | private void validateQuery(String uri, String query, int index) |
| 452 | throws URISyntaxException { |
| 453 | try { |
| 454 | URIEncoderDecoder.validate(query, queryLegal); |
| 455 | } catch (URISyntaxException e) { |
| 456 | throw new URISyntaxException(uri, Messages.getString("luni.89", e //$NON-NLS-1$ |
| 457 | .getReason()), index + e.getIndex()); |
| 458 | |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | private void validateFragment(String uri, String fragment, int index) |
| 463 | throws URISyntaxException { |