Project: Eclipse_Platform_UI
Bug 7357 TableViewer.getElementAt does not behave as documented
Reported: 2002-01-08 14:00:30 | Status: resolved fixed

org.eclipse.jface.viewers.TableViewer.getElementAt(int index) is documented (in JavaDoc) to return null if the index is out of bounds. But in practice it throws an IllegalArgumentException. (I realize that this method is internal to the framework, but either the implementation or the doc should be corrected)

Files changed in fix:
bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/viewers/TableViewer.java