title: How to create instance of org.springframework.dao.DataAccessException?
body: <p>I need to create JUnit test for handling of DataAccessException,</p>
  
  <p>but when I try:</p>
  
  <pre><code>            throw new DataAccessException();
  </code></pre>
  
  <p>Receive:</p>
  
  <pre><code> Cannot instantiate the type DataAccessException
  </code></pre>
  
  <p>Why? What can I do?
  Thanks.</p>