Code example for URISyntaxException

Methods: getMessage

0
      URI result = uriSsc.indexOf(':') >=0 ? new URI(getScheme(), uriSsc, null) : new URI(uriSsc);
      return result;
    } 
    catch (URISyntaxException e)
    { 
      throw new RuntimeException("unable to generate legacy subscription URI: " + e.getMessage(), e);
    } 
  } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE