more diagnostics for PCE self-wrapping

This commit is contained in:
peter
2017-07-15 12:35:04 +02:00
parent a7e1ae7990
commit d79c44ae44
@@ -24,7 +24,7 @@ public class ProcessCanceledException extends RuntimeException implements Contro
public ProcessCanceledException(@Nullable Throwable cause) {
super(cause);
if (cause instanceof ProcessCanceledException) {
throw new IllegalArgumentException("Must not self-wrap ProcessCanceledException: " + cause);
throw new IllegalArgumentException("Must not self-wrap ProcessCanceledException: ", cause);
}
}
}