use of com.intellij.cvsSupport2.connections.CvsRootException in project intellij-community by JetBrains.
the class SelectCvsElementStep method isLogged.
private boolean isLogged(final CvsRootConfiguration selectedConfiguration) {
myErrors.set(null);
final LoginPerformer performer = new LoginPerformer(myProject, Collections.<CvsEnvironment>singletonList(selectedConfiguration), e -> myErrors.set(Boolean.TRUE));
try {
final boolean logged = performer.loginAll(false);
return logged && myErrors.isNull();
} catch (CvsRootException e) {
Messages.showErrorDialog(e.getMessage(), CvsBundle.message("error.title.invalid.cvs.root"));
return false;
}
}
use of com.intellij.cvsSupport2.connections.CvsRootException in project intellij-community by JetBrains.
the class Cvs2SettingsEditPanel method testConfiguration.
private void testConfiguration() {
final CvsRootConfiguration newConfiguration = createConfigurationWithCurrentSettings();
if (newConfiguration == null)
return;
try {
testConnection(newConfiguration, myPanel, myProject);
} catch (CvsRootException e) {
e.show();
return;
}
updateFrom(newConfiguration);
}
Aggregations