title: Jbehave and expecting exceptions
body: <p>I have a "when" in JBehave which under certain circumstances should throw an exception. I cant find any documentation, however, on how to handle this. Here is my scenario:</p>
  
  <p>given a game with 6 existing bets and the game's max bets are 6
  when a user places a bet</p>
  
  <p>there's no then, since I want an exception thrown when the user places the bet.</p>
  
  <p>Keep in mind, I don't always want the when to throw an exception. E.g. when the existing bets are less than max bets. In that case, I want to do some ensuring in the "then".</p>