Contact: aviboots(AT)netvision.net.il
41,551 questions
54,171 answers
573 users
try { def arr = new int[5] arr[12] = 848 } catch(Exception ex) { println "Exception: ${ex}" } println "After try catch" /* run: Exception: java.lang.ArrayIndexOutOfBoundsException: Index 12 out of bounds for length 5 After try catch */