code: protected void assertLoginAccountRequired(String account) {
          if (account == null || account.length() == 0) {
              String msg = "The argument 'account' should not be null for login.";
              throw new IllegalArgumentException(msg);
          }
      }
docs: =============