TreeListStore exception due to wrong item typing
I see your point. Maybe we could add a javadoc warning in the constructor as you mentionned, and add one in getItem() too? (as it's the likely place it will crash: a @throws clause?)
TreeListStore exception due to wrong item typing
Adding generation of a TreeListModel getItem method like:
TreeListStore exception due to wrong item typing
Ok, indeed this is a misusage, that makes sense.
TreeListStore exception due to wrong item typing