final String[] invalidOptions = (String[])retVal; if (invalidOptions.length > 0) { printErrorMsg(); printInvalidJvmOptions(invalidOptions); throw new RuntimeException(); }
final String key = (String)((Vector)getProperty(ERROR_MSG)).get(0); CLILogger.getInstance().printError(getLocalizedString(key));
StringBuffer sb = new StringBuffer(""); for (int i = 0; i < oa.length; i++) { sb.append(oa[i].toString()); if (i < oa.length - 1) { //separate only the options. sb.append(LINE_SEPARATOR); } } CLILogger.getInstance().printError(sb.toString());