title: Throw exception in cucumber stepdefs
body: <p>I'd like to implement cucumber stepdefs for connexion with database. And I'd like to test the case of exception thrown by doa (SqlException). how can we simulate sqlexception when calling Dao?</p>
  
  <pre><code>  @Given("The data base calling return sqlexception$")
  </code></pre>