Here you can find the source of assertNonZero(int i, String fieldName)
public static void assertNonZero(int i, String fieldName)
//package com.java2s; //License from project: Apache License public class Main { public static void assertNonZero(int i, String fieldName) { if (i == 0) { throw new IllegalArgumentException(fieldName + " must be non-zero"); }//from ww w . ja v a 2 s. c o m } }