public static int test(int i) throws Exception {
   if (i == 0) {
     return 0;
   }
   return object.test2(i);
 }