jsdoc/test/cases/exceptiontag.js
2011-01-15 22:04:35 +00:00

20 lines
251 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) {
}