Package org.intellij.vcs.mks

Examples of org.intellij.vcs.mks.MksVcsException


                 @NotNull VirtualFile[] affectedFiles) {
    try {
      command.executeCommand(mksVcs, exceptions, affectedFiles);
    } catch (VcsException e) {
      //noinspection ThrowableInstanceNeverThrown
      exceptions.add(new MksVcsException(/*"Unable to obtain file status"*/ e.getMessage(), e));
    }

    WindowManager.getInstance().getStatusBar(project)
        .setInfo(MessageFormat.format(MksBundle.message("action.complete"), getActionName(mksVcs)));
  }
View Full Code Here


        revisionsInfo.add(info);
      }
    } catch (APIException e) {

      e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
      errors.add(new MksVcsException("apiException", e));
    } catch (VcsException e) {
      errors.add(e);
    }
  }
View Full Code Here

        perform(siMembers);
      } catch (TriclopsException e) {
        if (!MKSHelper.isLastCommandCancelled()) {
          @Nls final String message = "{0} Error: {1}";
          //noinspection ThrowableInstanceNeverThrown
          exceptions.add(new MksVcsException(
              MessageFormat.format(message, getActionName(mksVcs), MKSHelper.getMksErrorMessage()), e));
        }
      }
    }
  }
View Full Code Here

        perform(siMembers);
      } catch (TriclopsException e) {
        if (MKSHelper.isLastCommandCancelled()) {
          @Nls final String pattern = "{0} Error: {1}";
          //noinspection ThrowableInstanceNeverThrown
          exceptions.add(new MksVcsException(
              MessageFormat.format(pattern, getActionName(mksVcs), MKSHelper.getMksErrorMessage()), e));
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.intellij.vcs.mks.MksVcsException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.