(String uri, String authority, int index)
| 429 | } |
| 430 | |
| 431 | private void validateAuthority(String uri, String authority, int index) |
| 432 | throws URISyntaxException { |
| 433 | try { |
| 434 | URIEncoderDecoder.validate(authority, "@[]" + someLegal); //$NON-NLS-1$ |
| 435 | } catch (URISyntaxException e) { |
| 436 | throw new URISyntaxException(uri, Messages.getString("luni.87", e //$NON-NLS-1$ |
| 437 | .getReason()), index + e.getIndex()); |
| 438 | } |
| 439 | } |
| 440 | |
| 441 | private void validatePath(String uri, String path, int index) |
| 442 | throws URISyntaxException { |