Thursday, 21 April 2016

What is DataAccessException ?


  • DataAccessException is an RuntimeException (unchecked). The user is not forced to handle these kinds of exceptions.
  • This exception is used to handle the errors occurring when the details of the database access API in use, such as JDBC.
  • Exception class related to all the exceptions that are thrown in spring applications.
  • The spring’s DAO class does not throw any technology related exceptions such as SQLException.
    They throw exceptions which are subclasses of DataAccessException.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.