jsdoc/test/fixtures/exceptiontag.js
2014-06-28 08:23:32 -07:00

28 lines
360 B
JavaScript

/**
@throws {InvalidArgumentException}
*/
function foo(x) {
}
/**
@exception Will throw an error if argument is null.
*/
function bar(x) {
}
/**
@exception {DivideByZero} Argument x must be non-zero.
*/
function pez(x) {
}
/**
* A description of the function.
*
* @exception {Object} A description of the exception.
*/
function cos(x) {}