C Cannot Catch Nosuchelementexception Stack Overflow

C Cannot Catch Nosuchelementexception Stack Overflow