LocaleSetting localeSetting = this.context.getLocaleSetting();
if(!localeSetting.isLoaded()) {
try {
logger.debug("Loading locale setting...");
this.updateLoginState(LoginState.SEETING_LOAD_DOING, null);
localeSetting.load(this.context.getFetionUser());
if(!localeSetting.isValid()) //获取配置中如果无效,表明用户输入的账号无效
throw new LoginException(LoginState.SSI_ACCOUNT_NOT_FOUND);
this.updateLoginState(LoginState.SETTING_LOAD_SUCCESS, null);
} catch (Exception e) {