code: @Override
  	public void configure(Configuration parameters) {
  		super.configure(parameters);
  
  		if (charsetName == null || !Charset.isSupported(charsetName)) {
  			throw new RuntimeException("Unsupported charset: " + charsetName);
  		}
  	}
docs: --------------------------------------------------------------------------------------------