138139140141142143144145146
try { return new URI(scheme, ssp, path, query, null).toASCIIString(); } catch (URISyntaxException use) { // NB not sure how this could get caused... throw new RuntimeUriSyntaxException("Cannot create URL", use); } }