function AssertionException(message) {
    this.name = 'AssertionException';
    this.message = message;
    this.toString = function() {
        return this.name + ': "' + this.message + '"';
    };
}
/**
 * The exception thrown for all assert* failures.
 *
 * @param message - reason the assertion failed
 */
The exception thrown for all assert* failures.
@param message - reason the assertion failed
The exception thrown for all assert * failures . @param message - reason the assertion failed
function AssertionException(message) {
    this.name = 'AssertionException';
    this.message = message;
    this.toString = function() {
        return this.name + ': "' + this.message + '"';
    };
}
function AssertionException ( message ) { this . name = 'AssertionException' ; this . message = message ; this . toString = function ( ) { return this . name + ': "' + this . message + '"' ; } ; }
The exception thrown for all assert* failures.
The exception thrown for all assert * failures .