private static void processCLIStmt(String query) { try { cliClient_.executeCLIStmt(query); } catch (Exception e) { System.err.println("Exception " + e.getMessage()); e.printStackTrace(System.err); } return; }
private static void processServerQuery(String query) { if (!isConnected()) return; try { cliClient_.executeQueryOnServer(query); } catch (Exception e) { System.err.println("Exception " + e.getMessage()); e.printStackTrace(System.err); } return; }