code: private void verifyArguments(JmxExecRequest request, OperationAndParamType pTypes, int pNrParams, List<Object> pArgs) {
          if ( (pNrParams > 0 && pArgs == null) || (pArgs != null && pArgs.size() != pNrParams)) {
              throw new IllegalArgumentException("Invalid number of operation arguments. Operation " +
                      request.getOperation() + " on " + request.getObjectName() + " requires " + pTypes.paramClasses.length +
                      " parameters, not " + (pArgs == null ? 0 : pArgs.size()) + " as given");
          }
      }
docs: check whether the given arguments are compatible with the signature and if not so, raise an excepton