1
<documentation title="Doc Comment Throws Tag">
4
If a function throws any exceptions, they should be documented in a @throws tag.
8
<code title="Valid: @throws tag used.">
11
* <em>@throws Exception all the time</em>
16
throw new Exception('Danger!');
20
<code title="Invalid: No @throws tag used for throwing function.">
27
throw new Exception('Danger!');