} catch (NumberFormatException e) {
throw new IllegalArgumentException("Invalid level specified in preloadedNodes attribute. Integer number expected, but was: " + remainder);
}
if (level < 0)
throw new IllegalArgumentException("Invalid level specified in preloadedNodes attribute. The number should be zero or a positive number: " + level);
treeTable.setPreloadedNodes(new SeveralLevelsPreloaded(level));
} else {
throw new IllegalArgumentException("Invalid value specified for preloadedNodes attribute: " + preloadedNodes + " . It should be one of the following: " + ALL_NODES_PRELOADED + ", " + NO_NODES_PRELOADED + " or " + LEVELS_PRELOADED + "NUMBER");
}
}