Project: JDT
Bug 67289 UIPerformChangeOperation swallows exception stacktrace [refactoring]
Reported: 2004-06-15 12:25:11 | Status: resolved fixed

200406111814 UIPerformChangeOperation#executeChange() swallows the exceptions thrown during change execution: throw new CoreException(exception[0].getStatus()); ... drops the (very informative) stacktrace of exception[0]. Since CoreExceptions cannot be nested, either a nestable subclass of CoreException should be thrown or ... IStatus status= exception[0].getStatus(); throw new CoreException(new MultiStatus( status.getPlugin(), status.getCode(), new IStatus[]{status}, status.getMessage(), exception[0])); ... should be used.

Files changed in fix:
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/UIPerformChangeOperation.java