public void checkCancelled() throws SVNCancelException { if (myCancelOperation) { myCancelOperation = false; SVNErrorManager.cancel("operation cancelled", SVNLogType.DEFAULT); } } };
public void checkCancelled() throws SVNCancelException { if (myCancelOperation) { myCancelOperation = false; SVNErrorManager.cancel("operation cancelled", SVNLogType.DEFAULT); } } };
public void checkCancelled() throws SVNCancelException { if (cancelOperation) { cancelOperation = false; SVNErrorManager.cancel("operation cancelled", SVNLogType.DEFAULT); } } }
public void checkCancelled() throws SVNCancelException { if (myCancelOperation) { myCancelOperation = false; SVNErrorManager.cancel("operation cancelled", SVNLogType.DEFAULT); } } };
private void checkCancelled() throws SVNCancelException { if (cancelOperation) { cancelOperation = false; SVNErrorManager.cancel("operation cancelled", SVNLogType.DEFAULT); } }
public void checkCancelled() throws SVNCancelException { if (cancelled) { SVNErrorManager.cancel("Cancelled.", SVNLogType.CLIENT); } }
public void checkCancelled() throws SVNCancelException { synchronized (AbstractSVNCommandEnvironment.class) { if (ourIsCancelled) { SVNErrorManager.cancel("operation cancelled", SVNLogType.CLIENT); } } }
public void checkCancelled() throws SVNCancelException { synchronized (AbstractSVNCommandEnvironment.class) { if (ourIsCancelled) { SVNErrorManager.cancel("operation cancelled", SVNLogType.CLIENT); } } }
public void checkCancelled() throws SVNCancelException { if(myCancelOperation){ myCancelOperation = false; SVNErrorManager.cancel("operation cancelled"); } } };
public static void cancel(String message, SVNLogType logType) throws SVNCancelException { cancel(message, Level.FINE, logType); }
public static void cancel(String message, SVNLogType logType) throws SVNCancelException { cancel(message, Level.FINE, logType); }
public void abortReport() throws SVNException { SVNErrorManager.cancel("report aborted"); } });
public static void cancel(String message, SVNLogType logType) throws SVNCancelException { cancel(message, Level.FINE, logType); }
protected SVNMergeResult handleChooseWorking(SVNMergeFileSet files) throws SVNException { if (files == null) { SVNErrorManager.cancel("", SVNLogType.WC); } return SVNMergeResult.createMergeResult(SVNStatusType.MERGED, null); }
protected SVNMergeResult handleChooseWorking(SVNMergeFileSet files) throws SVNException { if (files == null) { SVNErrorManager.cancel("", SVNLogType.WC); } return SVNMergeResult.createMergeResult(SVNStatusType.MERGED, null); }
@Override public SVNAuthentication getFirstAuthentication(String kind, String realm, SVNURL url) throws SVNException { try { return super.getFirstAuthentication(kind, realm, url); } catch (SVNException e) { SVNErrorManager.cancel("No Credentials to try. Authentication failed.", SVNLogType.WC); throw e; } }
protected SVNMergeResult handleChooseWorking(SVNMergeFileSet files) throws SVNException { if (files == null) { SVNErrorManager.cancel("", SVNLogType.WC); } return SVNMergeResult.createMergeResult(SVNStatusType.MERGED, null); }
public SVNAuthentication getNextAuthentication(String kind, String realm, SVNURL url) throws SVNException { int index = Math.min(myLastProviderIndex + 1, 3); for(int i = index; i < myProviders.length; i++) { if (myProviders[i] == null) { continue; } SVNAuthentication auth = myProviders[i].requestClientAuthentication(kind, url, realm, myPreviousErrorMessage, myPreviousAuthentication, myIsStoreAuth); if (auth != null) { myPreviousAuthentication = auth; myLastProviderIndex = i; return auth; } if (i == 3) { SVNErrorManager.cancel("authentication cancelled"); } } SVNErrorManager.authenticationFailed("Authentication required for ''{0}''", realm); return null; }
public void checkCancelled() throws SVNCancelException { if (getOperation() != null && getOperation().isCancelled()) { SVNErrorManager.cancel("Operation cancelled", SVNLogType.WC); } if (getOperation() != null && getOperation().getCanceller() != null) { getOperation().getCanceller().checkCancelled(); } }
private ISVNSSLManager promptSSLClientCertificate(boolean firstAuth) throws SVNException { SVNURL location = myRepository.getLocation(); ISVNAuthenticationManager authManager = myRepository.getAuthenticationManager(); ISVNSSLManager sslManager = null; SVNSSLAuthentication sslAuth = null; String sslRealm = "<" + location.getProtocol() + "://" + location.getHost() + ":" + location.getPort() + ">"; if (myIsSecured) { sslManager = authManager != null ? authManager.getSSLManager(location) : null; } if (authManager != null && sslManager != null && sslManager.isClientCertPromptRequired()) { if (firstAuth) { sslAuth = (SVNSSLAuthentication) authManager.getFirstAuthentication(ISVNAuthenticationManager.SSL, sslRealm, location); } else { sslAuth = (SVNSSLAuthentication) authManager.getNextAuthentication(ISVNAuthenticationManager.SSL, sslRealm, location); } if (sslAuth == null) { SVNErrorManager.cancel("SSL authentication with client certificate cancelled"); } sslManager.setClientAuthentication(sslAuth); } return sslManager; }