public static int toIntValue(Character ch) { if (ch == null) { throw new IllegalArgumentException("The character must not be null");
public static int toIntValue(char ch) { if (isAsciiNumeric(ch) == false) { throw new IllegalArgumentException("The character " + ch + " is not in the range '0' - '9'");
    public static int toIntValue(Character ch) {        if (ch == null) {            throw new IllegalArgumentException("The character must not be null");        }        return toIntValue(ch.charValue());    }