When creating a Scala documentation I also use the @throws
and @note
tags like documented here (Scaladoc Wiki - Tags and Annotations).
Unfortunately I can't find these in the generated Scaladoc.
Do one have to set certain switches, consider something specific or is this a known problem?
BTW: using the scaladoc
Ant task of Scala 2.9.0.1 that issues no warning too.
EDIT: BTW2 and to clarify: I do not mean the @throws
annotation
@throws(classOf[RuntimeException])
def dispatch: Nothing = throw new RuntimeException
which is documented in the annotations section of this def
but the @throws
tag for Scaladoc like
/** @throws RuntimeException
*/
def dispatch: Nothing = throw new RuntimeException
@throws
seems fairly recent (May/June 2011): github.com/scala/scala/pull/23 – Alethiaaletta@throws
and@note
are well known by the tool - because if one writes the tag incorrectly (eg@notes
), then there is indeed awarning: Tag '@notes' is not recognised
. – Venicevenin@throws
annotation and@throws
tag are not exactly the same thing. – Venicevenin