Home | History | Annotate | Download | only in util

Lines Matching refs:valueName

139      * @param valueName the name of the argument to use if the check fails
145 public static float checkArgumentFinite(final float value, final String valueName) {
147 throw new IllegalArgumentException(valueName + " must not be NaN");
149 throw new IllegalArgumentException(valueName + " must not be infinite");
164 * @param valueName the name of the argument to use if the check fails
171 String valueName) {
173 throw new IllegalArgumentException(valueName + " must not be NaN");
177 "%s is out of range of [%f, %f] (too low)", valueName, lower, upper));
181 "%s is out of range of [%f, %f] (too high)", valueName, lower, upper));
193 * @param valueName the name of the argument to use if the check fails
200 String valueName) {
204 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper));
208 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper));
218 * @param valueName the name of the argument to use if the check fails
224 public static <T> T[] checkArrayElementsNotNull(final T[] value, final String valueName) {
226 throw new NullPointerException(valueName + " must not be null");
232 String.format("%s[%d] must not be null", valueName, i));
244 * @param valueName the name of the argument to use if the check fails
251 final String valueName) {
253 throw new NullPointerException(valueName + " must not be null");
260 String.format("%s[%d] must not be null", valueName, ctr));
272 * @param valueName the name of the argument to use if the check fails.
280 final String valueName) {
282 throw new NullPointerException(valueName + " must not be null");
285 throw new IllegalArgumentException(valueName + " is empty");
299 * @param valueName the name of the argument to use if the check fails
307 String valueName) {
308 checkNotNull(value, valueName + " must not be null");
314 throw new IllegalArgumentException(valueName + "[" + i + "] must not be NaN");
318 valueName, i, lower, upper));
322 valueName, i, lower, upper));