@Override
public void onUncaughtException(Throwable exception) {
bus.fireEvent(new NotificationEvent(Level.ERROR, i18n.ErrorInTheUI(), exception));
}
});
bus.addHandler(UserIsLoggedOutEvent.TYPE, new UserIsLoggedOutHandler() {
@Override
public void onEvent(UserIsLoggedOutEvent event) {
Window.alert("User is login timeout");
Window.Location.reload();
}