Explain thrown exceptions in JavaDoc