mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
flatten exception chain a bit
This commit is contained in:
@@ -102,7 +102,7 @@ public class RemoteObject implements Remote, Unreferenced {
|
||||
}
|
||||
|
||||
if (foreignException) {
|
||||
Throwable wrapper = new Throwable(ex.toString());
|
||||
final RuntimeException wrapper = new RuntimeException(ex.toString());
|
||||
wrapper.setStackTrace(ex.getStackTrace());
|
||||
ex = wrapper;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user