James Moger
2011-10-26 a70b43cde76b4baab82b4ce0d9ff82883f80b8df
src/com/gitblit/client/GitblitManager.java
@@ -65,6 +65,7 @@
import org.eclipse.jgit.util.FS;
import com.gitblit.Constants;
import com.gitblit.GitBlitException.ForbiddenException;
import com.gitblit.utils.StringUtils;
/**
@@ -99,6 +100,11 @@
         @Override
         public void windowClosing(WindowEvent event) {
            saveSizeAndPosition();
         }
         @Override
         public void windowOpened(WindowEvent event) {
            manageRegistrations();
         }
      });
@@ -277,6 +283,12 @@
               if (cause instanceof ConnectException) {
                  JOptionPane.showMessageDialog(GitblitManager.this, cause.getMessage(),
                        Translation.get("gb.error"), JOptionPane.ERROR_MESSAGE);
               } else if (cause instanceof ForbiddenException) {
                  JOptionPane
                        .showMessageDialog(
                              GitblitManager.this,
                              "This Gitblit server does not allow RPC Management or Administration",
                              Translation.get("gb.error"), JOptionPane.ERROR_MESSAGE);
               } else {
                  Utils.showException(GitblitManager.this, t);
               }