mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 23:15:24 +02:00
Bug 430610: Fix ClassCast in TemplateEngineUIUtil.showError
Change-Id: I12505001e3c2fa1ee996ad5ba55ab615be34c731 Signed-off-by: mhussein <mohamed_hussein@mentor.com> Reviewed-on: https://git.eclipse.org/r/23550 Tested-by: Hudson CI Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com> IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com> Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
This commit is contained in:
parent
2384c6442a
commit
f9e4bbf0a3
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public class TemplateEngineUIUtil {
|
|||
Throwable p = t;
|
||||
do {
|
||||
p = p.getCause();
|
||||
if (p != null) {
|
||||
if (p instanceof ProcessFailureException) {
|
||||
statuses = ((ProcessFailureException) p).getStatuses();
|
||||
}
|
||||
} while ((statuses == null || statuses.isEmpty()) && p != null && p instanceof ProcessFailureException);
|
||||
|
|
Loading…
Add table
Reference in a new issue