> +      return "/rdp_console.json";
> +   }
> +
> +   @Override
> +   @SelectJson("console")
> +   @Consumes(MediaType.APPLICATION_JSON)
> +   public Console expected() {
> +      try {
> +         return Console
> +            .builder()
> +            .url(new 
> URI("http://example.com:6083/?token=f9906a48-b71e-4f18-baca-";
> +                     + 
> "c987da3ebdb3&title=dafa(75ecef58-3b8e-4659-ab3b-5501454188e9)"))
> +            .type(Console.Type.RDP_HTML5)
> +            .build();
> +      } catch (Exception e) {
> +         throw new RuntimeException(e);

[minor] Use Throwables.propagate?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/339/files#r11598092

Reply via email to