When I run javadoc, I get the following exception warning: “Method X declares that it throws class Y, but there is no corresponding @exception item.” What does this message mean?
This warning message means that there is no description on the line that contains the @exception tag. The @exception line should look something like: * @exception ReceiverException An exception thrown by the receiver. You get the warning if there is a return immediately after the exception name (ReceiverException). If you put the description on the next line, for example, you get this warning. Workaround – Insert a space after the exception name.
Related Questions
- When I run javadoc, I get the following exception warning: "Method X declares that it throws class Y, but there is no corresponding @exception item." What does this message mean?
- I would like to take a different class instead of whats listed for a General Education requirement. Where do I go to get this course substitution or exception?
- How does an object call an inner class method?