final String message = DkMain.config().isStandalone() || DkMain.config().isEmbeddedReconnectionAuthorized() ? DkMain.i18n()
.error_authentication_failure_user_not_authenticated_popup_message_but_will_try_to_reconnect() : DkMain.i18n()
.error_authentication_failure_user_not_authenticated_popup_message();
displayError(DkMain.i18n().error_authentication_failure_user_not_authenticated_popup_title(), message, exception,
callingAction, new AfterCloseListener()
{
@Override
public void afterClose()
{
onUserNotAuthenticatedPopupClick(callingAction);