public static Integer parseNumericStringObject(Object object) throws InvalidRpcDataException {

        if (object == null) {
            return null;
        }

        if (object instanceof String) {
            return parseNumericString((String) object);

        } else {
            throw new InvalidRpcDataException("Expected numeric String, but got: " + object.getClass().getName());
        }
    }