This codes works but throws `java.net.MalformedURLException`

```
val content = Source.fromURL("urladdress")

```

How to surround it with the `try-catch` block if I need the `content` value outside the block.