nzec error

if on submission of my program it says nzec error…certainly there is some problem with the exception throwing…
how do i trace the error when the compiler on my machine gives it a clean chit…??
m using java…
suggestions will be highly appreciated…!!

You have do one of the following two things or both .

  1. Look at your code logically , and see if you are using arrays and their indices may go out of bounds on certain cases or some other source of exception is there .
  2. Write some tricky test cases , till you get an exception on your machine .

m using a couple of strings…
can using the scanner class be a problem??

//