I need to create JUnit test for handling of DataAccessException,

but when I try:

            throw new DataAccessException();

Receive:

 Cannot instantiate the type DataAccessException

Why? What can I do? Thanks.

Edit
Report