code: private static void checkPreconditions(final Class<?> jodaClass,
  			final DateTimeFormatter formatter) {
  		if (jodaClass == null) {
  			throw new NullPointerException("jodaClass should not be null");
  		} else if (formatter == null) {
  			throw new NullPointerException("formatter should not be null");
  		}
  	}
docs: Checks the preconditions for creating a new
  AbstractJodaFormattingProcessor processor.
  
  @param jodaClass
  the Joda class
  @param formatter
  the formatter
  @throws NullPointerException
  if jodaClass or formatter is null