1
0
Fork 0
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:
mhussein 2014-03-20 20:15:59 +02:00 committed by Mikhail Khodjaiants
parent 2384c6442a
commit f9e4bbf0a3

View file

@ -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);