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;