mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
[updater] CCE in patch builder
GitOrigin-RevId: 04156ee40c1ee01320b043756128659887b8aee4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b5f2073afa
commit
1fb5951f38
@@ -75,7 +75,13 @@ public class PatchFileCreator {
|
||||
}
|
||||
}
|
||||
catch (InterruptedException e) { throw new IOException(e); }
|
||||
catch (ExecutionException e) { throw ((IOException)e.getCause()); }
|
||||
catch (ExecutionException e) {
|
||||
Throwable cause = e.getCause();
|
||||
if (cause instanceof IOException) throw (IOException)cause;
|
||||
if (cause instanceof RuntimeException) throw (RuntimeException)cause;
|
||||
if (cause instanceof Error) throw (Error)cause;
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -147,4 +153,4 @@ public class PatchFileCreator {
|
||||
this.error = error;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user