/**
    @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) {}
