if (!(child instanceof ProcessToolVaadinWidget)) {
throw new IllegalArgumentException("child is not instance of " + ProcessToolVaadinWidget.class.getName());
}
Component component;
ProcessToolVaadinWidget vChild = (ProcessToolVaadinWidget) child;
try {
component = vChild.render();
} catch (Throwable e) {
logger.log(Level.SEVERE, e.getMessage(), e);
Panel p = new Panel();
VerticalLayout vl = new VerticalLayout();
vl.addComponent(new Label(getMessage("process.data.widget.exception-occurred")));