Exemple #1
0
  @Override
  public List<String> getUsersInRoom(String room) throws OKMException {
    updateSessionManager();

    try {
      return manager.getUsersInRoom(room);
    } catch (PrincipalAdapterException e) {
      log.error(e.getMessage(), e);
      throw new OKMException(
          ErrorCode.get(ErrorCode.ORIGIN_OKMChatService, ErrorCode.CAUSE_PrincipalAdapter),
          e.getMessage());
    }
  }