code: private static void validateEnvironment(SessionContext context, Executor executor) {
  		System.out.print("Validating current environment...");
  		try {
  			executor.validateSession(context);
  			System.out.println("done.");
  		} catch (SqlExecutionException e) {
  			throw new SqlClientException(
  				"The configured environment is invalid. Please check your environment files again.", e);
  		}
  	}
docs: --------------------------------------------------------------------------------------------