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 ) ; } } }
Verify the given job types are all valid .