Suggestion: Update API Doc (+ Devel guide) with @throws

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
KurtP
Posts: 3
Joined: Fri Dec 03, 2010 8:35 pm
antibot: No, of course not.

Suggestion: Update API Doc (+ Devel guide) with @throws

Post by KurtP » Fri Dec 03, 2010 8:48 pm

Hi - JFreeChart is very cool, thanks for all your effort !!

I just found out that

Code: Select all

XYSeries.add()
can throw a

Code: Select all

SeriesException
when an identical x-value is added to a XYSeries with

Code: Select all

allowDuplicateXValues=false


It would be really helpful if Exceptions that can be thrown would appear in the javadoc, especially because the Developer's Guide does not list this Exception either (at least not on page 897 where I was looking for it - maybe it is hidden somewhere else in the Developer's Guide).

Thanks and best regards,
Kurt

Locked