title: Jasmine throws error on expect().toThrow instead of identifying the thrown error
body: <p>I'm trying to implement functions for printing a diamond in terms of learning test driven development in javascript. </p>
  
  <pre><code>Diamond.prototype.outerSpace = function (current, widest) {
  
    var currentValue = this.getIndexOf(current);
    var widestValue = this.getIndexOf(widest);
  
    if (currentValue &gt; widestValue) {
        throw new Error('Invalid combination of arguments');
    }
  
    var spaces = widestValue - currentValue;
    return new Array(spaces + 1).join(' ');
  };
  </code></pre>
  
  <p>I have problems in Error handling. The function above should throw an error, if currentValue is greater than widestValue. </p>
  
  <p>This is my snippet representing the test/spec: </p>
  
  <pre><code>it ("should throw an exception, if it is called with D and C", function () {
      var outerSpace = diamond.outerSpace.bind(diamond, 'D', 'C');
      expect(outerSpace).toThrow('Invalid combination of arguments');
  });
  </code></pre>
  
  <p>I've tried also with an anonymous function in expect(..), but this also didn't work.</p>
  
  <p>The Console message is: Expected function to throw 'Inval...' but it throw Error: Invalid combination of arguments. </p>
  
  <p>I don't get it, what I should do with this information.</p>
  
  <p>Edit: It is strange, because it is working with Jasmine v.1.3, but it didnt work  with jasmine v.2.3 i.e. or with karma, although the code based on jasmine.</p>