Checkstyle Javadoc annotation problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Checkstyle Javadoc annotation problem

anand_matta
This post has NOT been accepted by the mailing list yet.
I am running checkstyle tool to check my java document comments.

If my document comments
/**
     * Queries the web service and returns the records in the XML format String.
     *
     * @param env
     * @return InputStream The response XML in Byte array stream format.
     * @throws ServiceException
     * @throws MalformedURLException
     * @throws AxisFault
     * @throws SAXException
     */

In the audit report:

warning: Expected @param tag for 'env'.
warning: Expected @throws tag for 'ServiceException'.
warning: Expected @throws tag for 'MalformedURLException'.
warning: Expected @throws tag for 'AxisFault'.
warning: Expected @throws tag for 'SAXException'.

why like this can any one please help me
I am using checkstyle-4.4