private List<Arg> getArgs(String[] args) {
		List<Arg> argumentList = new ArrayList<Arg>();
		if (args.length == 0 || args[0].charAt(0) != '-') {
			argumentList.add(Arg.CODE_GENERATOR);
			return argumentList;
		} else {
			for (String parameterizedArg : args) {
				if (parameterizedArg.charAt(0) == '-') {
					boolean isValidArgument = false;
					for (Arg arg : Arg.values()) {
						if (parameterizedArg.equals(arg.toString())) {
							argumentList.add(arg);
							isValidArgument = true;
							break;
						}
					}
					if (!isValidArgument) {
						return ExceptionHandler.getInstance().throwException(Exception.INVALID_ARGS, ExceptionStrength.STRONG);
					}
				}
			}
			if (argumentList.size() > 2) {
				return ExceptionHandler.getInstance().throwException(Exception.NUMBER_OF_ARGS, ExceptionStrength.STRONG);
			} else {
				return argumentList;
			}
		}
	}