/**
  * If the CMR is online invokes the {@link IServerStatusService} to get the version. Otherwise
  * returns 'N/A'.
  *
  * @return Version of this CMR.
  */
 public String getVersion() {
   if (onlineStatus != OnlineStatus.OFFLINE) {
     try {
       return serverStatusService.getVersion();
     } catch (Exception e) {
       return VersionService.UNKNOWN_VERSION;
     }
   } else {
     return VersionService.UNKNOWN_VERSION;
   }
 }
 /**
  * Returns if the server is online by checking the {@link IServerStatusService}.
  *
  * @return Returns if the server is online by checking the {@link IServerStatusService}.
  */
 private boolean isOnline() {
   try {
     ServerStatus status = serverStatusService.getServerStatus();
     if (ServerStatus.SERVER_ONLINE == status) {
       checkKey(status.getRegistrationIdsValidationKey());
       return true;
     }
     return false;
   } catch (Exception e) {
     return false;
   }
 }