public static URI create(String uri) {try {return new URI(uri);} catch (URISyntaxException e) {throw new IllegalArgumentException(e.getMessage());}}

public static java.net.URI create(string uri){try{return new java.net.URI(uri);}catch (java.net.URISyntaxException e){throw new System.ArgumentException(e.Message);}}
