NZEC on Delicious Dishes with Java

I just can’t find what’s wrong with my program and why I keep on getting NZEC so I hope you guys can help.

Here’s my solution: http://ideone.com/5oRevP

I have tried adding try catch clauses but I’m still getting the NZEC.

//