private void getParameters(Keyword method, String[] argument) throws Exception {
        parameters.put(Keyword.METHOD, method.toString().toLowerCase());
        startType = TimeType.NONE;
        endType = TimeType.NONE;
        String key, value;
        Keyword argType;
        
        for (int i = 0; i < argument.length; ++i) {
           
            if (i == 0) {
                key = "content";
                value = argument[0].trim();
                if (value.length() > 29) {
                    throw new Exception(EXCEEDED_CHAR_LIMIT);
                }
            
            } else {
                argument[i] = argument[i].trim() + " ";
                String[] tmp = argument[i].split(" ", 2);
                key = tmp[0].trim();
                value = tmp[1].trim();
            }
            argType = Keyword.getMeaning(key);
            if (!Keyword.isProperArgument(method, argType)) {
                throw new Exception(IMPROPER_ARGUMENT);
            }
            if (argType.equals(Keyword.START) || argType.equals(Keyword.END)) {
                value = parseTimeArg(argType, value);
            }
            parameters.put(argType, value);
        }
        if (method.equals(Keyword.CREATE)) {
            configCreate();
        }
        if (method.equals(Keyword.EMPTYSLOT)) {
            configEmptySlot();
        }
    }