function FailureException(message) {
    this.name = 'FailureException';
    this.message = message;
    this.toString = function() {
        return this.name + ': "' + this.message + '"';
    };
}
/**
 * The exception thrown when a 'fail' is used.
 *
 * @param message - reason the test failed/aborted
 */
The exception thrown when a 'fail' is used.
@param message - reason the test failed/aborted
The exception thrown when a ' fail ' is used . @param message - reason the test failed / aborted
function FailureException(message) {
    this.name = 'FailureException';
    this.message = message;
    this.toString = function() {
        return this.name + ': "' + this.message + '"';
    };
}
function FailureException ( message ) { this . name = 'FailureException' ; this . message = message ; this . toString = function ( ) { return this . name + ': "' + this . message + '"' ; } ; }
The exception thrown when a 'fail' is used.
The exception thrown when a ' fail ' is used .