throw new IllegalArgumentException(type.toString());
}
}
protected ListType getType(UIComponent component) {
ListType type = ((AbstractList) component).getType();
if (type == null) {
String exceptionMessage = MessageFormat.format("Type for rich:list {0} is required!",
RichfacesLogger.getComponentPath(component));
throw new IllegalArgumentException(exceptionMessage);
}