ConfigValidation.validateConfig(sinkConfig, FunctionConfig.Runtime.JAVA.name(), classLoader); } catch (Exception e) { throw new ParameterException(e.getMessage());
ConfigValidation.validateConfig(sourceConfig, FunctionConfig.Runtime.JAVA.name(), classLoader); } catch (Exception e) { throw new ParameterException(e.getMessage());
ConfigValidation.validateConfig(functionConfig, functionConfig.getRuntime().name(), classLoader); } catch (Exception e) { throw new IllegalArgumentException(e.getMessage());