From: SourceForge.net <no...@so...> - 2007-09-16 18:01:47
|
Bugs item #1795836, was opened at 2007-09-16 13:01 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1795836&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: John B. Matthews (matthewsj) Assigned to: Nobody/Anonymous (nobody) Summary: XYPlot exception message. Initial Comment: Dear Chartissimi: XYPlot.getDomainAxisForDataset() throws an IllegalArgumentException, but the message could be more helpful. The existing code is if (index < 0 || index >= getDatasetCount()) { throw new IllegalArgumentException("Index 'index' out of bounds."); } Should the message include the index? throw new IllegalArgumentException("Index " + index + " out of bounds."); Thanks, John Matthews ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1795836&group_id=15494 |