SI-6626 make @throws tags create links to exceptions

In scaladoc, this turns exceptions in `@throws` tags into links
(when it can find the target exception), instead of just showing
the name.

Review by @VladUreche :)
What is `a` and `b`?