initialization(lkp != null); } catch (IntrospectionException ie) { throw ie;
/** Constructs a node for a JavaBean with a defined child list. * Intended for use by subclasses with different strategies for computing the children. * @param bean the bean this node will be based on * @param children children for the node (default if null) * @throws IntrospectionException if the bean cannot be analyzed */ protected BeanNode (Object bean, Children children) throws IntrospectionException { super (children == null ? getChildren(bean) : children); if (bean == null) throw new NullPointerException("cannot make a node for a null bean"); // NOI18N this.bean = bean; try { initialization (); } catch (IntrospectionException ie) { throw ie; } catch (RuntimeException re) { throw mkie(re); } catch (LinkageError le) { throw mkie(le); } } private static IntrospectionException mkie(Throwable t) {
/** Constructs a node for a JavaBean with a defined child list. * Intended for use by subclasses with different strategies for computing the children. * @param bean the bean this node will be based on * @param children children for the node (default if null) * @throws IntrospectionException if the bean cannot be analyzed */ protected BeanNode (Object bean, Children children) throws IntrospectionException { super (children == null ? getChildren(bean) : children); if (bean == null) throw new NullPointerException("cannot make a node for a null bean"); // NOI18N this.bean = bean; try { initialization (); } catch (IntrospectionException ie) { throw ie; } catch (RuntimeException re) { throw mkie(re); } catch (LinkageError le) { throw mkie(le); } } private static IntrospectionException mkie(Throwable t) {