The best way for handling exception when dealing with a database connection?
Options
- Implement a try/catch block that catches System.Exceptions.
- Implementing custom error page.
- Implement a try/catch block that catches individual exception types, such as SQLException.
- Display an error message.
CORRECT ANSWER : Implement a try/catch block that catches System.Exceptions.
Write your comments