Verizon interview question

on java and Pega and error handing in both these