diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackInternalServerErrorException.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackInternalServerErrorException.java index 0636984dc..acdfe04f8 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackInternalServerErrorException.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPackInternalServerErrorException.java @@ -45,7 +45,7 @@ package org.eclipse.jgit.transport; import java.io.IOException; -/** UploadPack has already reported an error to the client. */ +/** UploadPack has already reported an error to the client.*/ public class UploadPackInternalServerErrorException extends IOException { private static final long serialVersionUID = 1L; @@ -56,6 +56,6 @@ public class UploadPackInternalServerErrorException extends IOException { * root cause. */ public UploadPackInternalServerErrorException(Throwable why) { - super(why); + initCause(why); } }