Skip to content

Commit

Permalink
[JENKINS-26264] Cleanup AbortException call.
Browse files Browse the repository at this point in the history
  • Loading branch information
christ66 committed Jan 30, 2015
1 parent b64b3b2 commit 8accb79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/hudson/scm/subversion/UpdateUpdater.java
Expand Up @@ -167,8 +167,7 @@ public List<External> perform() throws IOException, InterruptedException {
}
} catch (SVNCancelException e) {
if (isAuthenticationFailedError(e)) {
e.printStackTrace(listener.error("Failed to check out " + location.remote));
throw (AbortException) new AbortException().initCause(e);
throw new AbortException("Failed to check out " + location.remote);
} else {
listener.error("Subversion update has been canceled");
throw (InterruptedException)new InterruptedException().initCause(e);
Expand Down

0 comments on commit 8accb79

Please sign in to comment.