From 361a1d4e820145441d274074787bbe25c33a1edd Mon Sep 17 00:00:00 2001 From: Anton Borisov Date: Thu, 9 Jul 2020 11:33:56 +0400 Subject: [PATCH] fix forgotten cause --- modules/web/src/com/haulmont/cuba/web/sys/WebScreens.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/web/src/com/haulmont/cuba/web/sys/WebScreens.java b/modules/web/src/com/haulmont/cuba/web/sys/WebScreens.java index fc71ed4c03..564c9e1187 100644 --- a/modules/web/src/com/haulmont/cuba/web/sys/WebScreens.java +++ b/modules/web/src/com/haulmont/cuba/web/sys/WebScreens.java @@ -951,7 +951,7 @@ protected T createController(@SuppressWarnings("unused") Wind controller = invokeConstructor(screenClass); } catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) { - throw new RuntimeException("Unable to create instance of screen class " + screenClass); + throw new RuntimeException("Unable to create instance of screen class " + screenClass, e); } return controller;