mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
more diagnostics for PCE self-wrapping
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user