public void login(IProgressMonitor monitor, int tries, long sleep) throws CoreException {
internalLogin(monitor, tries, sleep);
}
protected boolean internalLogin(IProgressMonitor monitor, int tries, long sleep) throws CoreException {
Boolean result = new WaitWithProgressJob(tries, sleep) {
@Override
protected boolean internalRunInWait(IProgressMonitor monitor) throws CoreException {
// Do not wrap CloudFoundryException or RestClientException in a
// CoreException.