SI-6626 make @throws tags create links to exceptions

This turns exceptions in @throws tags into links (when it can find the
target exception), instead of just showing the name.