Infosys interview question

Custom exception, core java, spring boot, rest api