HCLTech Interview Question

Exception handling explanation How do you connect api code to database