code: public static void validateNull(String name, Object object) {
  		if (object == null) {
  			throw new IllegalStateException(name.concat(" cannot be null"));
  		}
  	}
docs: Validate null.
  
  @param name   the name
  @param object the object