.blockingGet(UserProjectPreferences.getLockWaitTimeoutMillis(project), TimeUnit.MILLISECONDS); } catch (InterruptedException e) { InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>( new VcsInterruptedException("Update Changelists interrupted", e))); progress.setFraction(1.0);
InternalErrorMessage.send(project).p4ApiInternalError(new ErrorEvent<>( new Exception("Attempted to submit files that weren't open for edit/add: " + noChangelistFiles)));
InternalErrorMessage.send(project).internalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.AccessException", e), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.internal.connection", e), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.internal.missing-case", e), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.internal.no-ssl-info", e), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.internal.no-ssl-info", e), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.internal.trust", e), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(e)); InternalErrorMessage.send(project).internalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.internal.api", e),
.blockingWait(UserProjectPreferences.getLockWaitTimeoutMillis(myProject), TimeUnit.MILLISECONDS); } catch (InterruptedException e) { InternalErrorMessage.send(myProject).cacheLockTimeoutError(new ErrorEvent<>( new VcsInterruptedException(e)));
InternalErrorMessage.send(project).internalError(new ErrorEvent<>(sourceException)); return createServerResultException(sourceException, getMessage("error.internal.login-required", sourceException), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(sourceException)); return createServerResultException(sourceException, getMessage("error.internal.login-required", sourceException), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(sourceException)); return createServerResultException(sourceException, getMessage("error.AuthenticationFailedException.NOT_LOGGED_IN", sourceException), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(sourceException)); return createServerResultException(sourceException, getMessage("error.internal.login-required", sourceException), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(sourceException)); return createServerResultException(sourceException, getMessage("error.internal.login-required", sourceException),
InternalErrorMessage.send(project).cacheLockTimeoutError( new ErrorEvent<>(new VcsInterruptedException(ex)));
.changelistDeleted(res.getChangelistId()); } catch (InterruptedException e) { InternalErrorMessage.send(project).cacheLockTimeoutError( new ErrorEvent<>(new VcsInterruptedException( "Timed out waiting for cache to become available", e)));
}); } catch (InterruptedException e) { InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>(new VcsInterruptedException( "Could not write to the cache due to lock timeout", e)));
InternalErrorMessage.send(project).internalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.NullPointerError", e), InternalErrorMessage.send(project).p4ApiInternalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.ProtocolError", e), InternalErrorMessage.send(project).p4ApiInternalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.UnimplementedError", e), InternalErrorMessage.send(project).p4ApiInternalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.P4JavaError", e), InternalErrorMessage.send(project).internalError(new ErrorEvent<>(e)); return createServerResultException(e, getMessage("error.Error", e),
(cache) -> cache.removeActionById(action.getActionId())); } catch (InterruptedException ex) { InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>( new VcsInterruptedException(ex))); }); } catch (InterruptedException e) { InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>(new VcsInterruptedException(e))); return new DoneActionAnswer<>(null);
InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>( new VcsInterruptedException("Lock timed out for " + file, e))); builder.processModifiedWithoutCheckout(file.getFilePath().getVirtualFile());
InternalErrorMessage.send(myProject).cacheLockTimeoutError(new ErrorEvent<>( new VcsInterruptedException("Interrupted while performing changelist removal", e)));
.blockingGet(UserProjectPreferences.getLockWaitTimeoutMillis(project), TimeUnit.MILLISECONDS); } catch (InterruptedException e) { InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>(new VcsInterruptedException( "Encountered error looking for files under " + root, e))); return null;
InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>(new VcsInterruptedException(e))); return null; } catch (P4CommandRunner.ServerResultException e) {
true); } catch (InterruptedException e) { InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>(new VcsInterruptedException(e))); return null; } catch (P4CommandRunner.ServerResultException e) {
InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>(new VcsInterruptedException(e))); return null; } catch (P4CommandRunner.ServerResultException e) {
InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>(new VcsInterruptedException(e)));
InternalErrorMessage.send(project).cacheLockTimeoutError( new ErrorEvent<>(new VcsInterruptedException(e))); return null;
InternalErrorMessage.send(project).cacheLockTimeoutError( new ErrorEvent<>(new VcsInterruptedException(e))); } catch (P4CommandRunner.ServerResultException e) {
@Override public void run(@NotNull ProgressIndicator progressIndicator) { progressIndicator.setIndeterminate(true); progressIndicator.startNonCancelableSection(); try { LOG.info("Fetching files into " + rootPath); FetchFilesResult r = P4ServerComponent .perform(project, clientConfig, new FetchFilesAction(Collections.singletonList(rootPath), null, false)) .blockingGet(UserProjectPreferences.getLockWaitTimeoutMillis(project), TimeUnit.MILLISECONDS); progressIndicator.finishNonCancelableSection(); synchronized (sync) { res = r; } } catch (InterruptedException e) { InternalErrorMessage.send(project).cacheLockTimeoutError(new ErrorEvent<>( new VcsInterruptedException(e))); progressIndicator.finishNonCancelableSection(); onCancel(); } catch (P4CommandRunner.ServerResultException e) { progressIndicator.finishNonCancelableSection(); VcsNotifier.getInstance(project).notifyError(P4Bundle.getString("checkout.config.error.title"), e.getMessage()); synchronized (sync) { res = null; } } progressIndicator.stop(); }