| | |
| | | println( |
| | | ERR_REPLICATION_STATUS_READING_REGISTERED_SERVERS.get( |
| | | Utils.getMessageFromCollection(exceptionMsgs, |
| | | Constants.LINE_SEPARATOR).toString())); |
| | | Constants.LINE_SEPARATOR))); |
| | | println(); |
| | | } |
| | | else |
| | |
| | | cancelled = !askConfirmation( |
| | | ERR_REPLICATION_READING_REGISTERED_SERVERS_CONFIRM_UPDATE_REMOTE. |
| | | get(Utils.getMessageFromCollection(exceptionMsgs, |
| | | Constants.LINE_SEPARATOR).toString()), true, logger); |
| | | Constants.LINE_SEPARATOR)), true, logger); |
| | | } |
| | | catch (CLIException ce) |
| | | { |
| | |
| | | { |
| | | println(ERR_REPLICATION_READING_REGISTERED_SERVERS_WARNING.get( |
| | | Utils.getMessageFromCollection(messages, |
| | | Constants.LINE_SEPARATOR).toString())); |
| | | Constants.LINE_SEPARATOR))); |
| | | } |
| | | } |
| | | // Check whether there is more than one replication server in the |
| | |
| | | println( |
| | | ERR_REPLICATION_READING_REGISTERED_SERVERS_WARNING.get( |
| | | Utils.getMessageFromCollection(messages, |
| | | Constants.LINE_SEPARATOR).toString())); |
| | | Constants.LINE_SEPARATOR))); |
| | | } |
| | | } |
| | | |
| | |
| | | LocalizableMessage msg = |
| | | ERR_REPLICATION_STATUS_READING_REGISTERED_SERVERS.get( |
| | | Utils.getMessageFromCollection(messages, |
| | | Constants.LINE_SEPARATOR).toString()); |
| | | Constants.LINE_SEPARATOR)); |
| | | println(msg); |
| | | } |
| | | } |
| | |
| | | { |
| | | throw new ReplicationCliException( |
| | | ERR_REPLICATION_INITIALIZING_TRIES_COMPLETED.get( |
| | | pnfe.getMessageObject().toString()), |
| | | INITIALIZING_TRIES_COMPLETED, pnfe); |
| | | pnfe.getMessageObject()), INITIALIZING_TRIES_COMPLETED, pnfe); |
| | | } |
| | | try |
| | | { |
| | |
| | | { |
| | | throw new ReplicationCliException( |
| | | ERR_REPLICATION_INITIALIZING_TRIES_COMPLETED.get( |
| | | pnfe.getMessageObject().toString()), |
| | | INITIALIZING_TRIES_COMPLETED, pnfe); |
| | | pnfe.getMessageObject()), INITIALIZING_TRIES_COMPLETED, pnfe); |
| | | } |
| | | try |
| | | { |
| | |
| | | } |
| | | catch (IOException ioe) |
| | | { |
| | | println( |
| | | ERR_REPLICATION_ERROR_WRITING_EQUIVALENT_COMMAND_LINE.get(file, |
| | | ioe.toString())); |
| | | println(ERR_REPLICATION_ERROR_WRITING_EQUIVALENT_COMMAND_LINE.get(file, ioe)); |
| | | } |
| | | } |
| | | } |