(String uri, String path, int index)
| 439 | } |
| 440 | |
| 441 | private void validatePath(String uri, String path, int index) |
| 442 | throws URISyntaxException { |
| 443 | try { |
| 444 | URIEncoderDecoder.validate(path, "/@" + someLegal); //$NON-NLS-1$ |
| 445 | } catch (URISyntaxException e) { |
| 446 | throw new URISyntaxException(uri, Messages.getString("luni.88", e //$NON-NLS-1$ |
| 447 | .getReason()), index + e.getIndex()); |
| 448 | } |
| 449 | } |
| 450 | |
| 451 | private void validateQuery(String uri, String query, int index) |
| 452 | throws URISyntaxException { |