message: Check for the exception before setting the stack value.
diff: @@ -143,6 +143,7 @@ jasmine.Matchers.prototype.toThrow = function(expected, messageId) {
  return "Expected function to throw an exception.";
  }
  };
  + if (exception)
  this.stack = exception.stack;
  return result;
  