code: protected void checkJobTypes(final Map<String, ? extends Class<?>> jobTypes) {
          if (jobTypes == null) {
              throw new IllegalArgumentException("jobTypes must not be null");
          }
          for (final Entry<String, ? extends Class<?>> entry : jobTypes.entrySet()) {
              try {
                  checkJobType(entry.getKey(), entry.getValue());
              } catch (IllegalArgumentException iae) {
                  throw new IllegalArgumentException("jobTypes contained invalid value", iae);
              }
          }
      }
docs: Verify the given job types are all valid.
  
  @param jobTypes the given job types
  @throws IllegalArgumentException if any of the job types are invalid
  @see #checkJobType(String, Class)