CdmStore.getLoginManager().authenticate(token);
}catch(BadCredentialsException e){
logger.error("Bad credentials", e);
- StoreUtil.warningDialog("Could not authenticate. Reason: Bad Credentials");
+ StoreUtil.warningDialog("Could not authenticate. Reason: Bad Credentials.");
}catch(LockedException e){
logger.error("Account is locked", e);
- StoreUtil.warningDialog("Could not authenticate. Reason: Account is locked");
+ StoreUtil.warningDialog("Could not authenticate. Reason: Account is locked.");
}catch(IllegalArgumentException e){
logger.error("Null argument for either user or password", e);
+ StoreUtil.warningDialog("Could not authenticate. Reason: Username and/or Password empty.");
}
super.okPressed();