Re: Avoid javadoc warning on constructors of Exception subclasses
"Wim Deblauwe" <[email protected]> Fri, 12 Sep 2008 16:03:38 +0200
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Maybe something like:
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowUndeclaredRTE" value="true"/>
<property name="severity" value="warning"/>
<property name="ignoreSubclassesOf" value="java.lang.Exception"/>
</module>
This does not explicitly say 'constructors only', but I would not mind that,
I never add other methods anyway :)
regards,
Wim
2008/9/12 Oliver Burn <[email protected]>
> If you want to file an enhancement request -- I'd like to know how you
> would want to configure this exclusion.
>
> On Fri, Sep 12, 2008 at 21:22, Wim Deblauwe <[email protected]>wrote:
>
>> Do you want me to file an enhancement request for it or do you think it is
>> not possible with checkstyle?
>>
>> regards,
>>
>> Wim
>>
>> 2008/9/12 Oliver Burn <[email protected]>
>>
>> No
>>>
>>> On Fri, Sep 12, 2008 at 19:04, Wim Deblauwe <[email protected]>wrote:
>>>
>>>> Hi,
>>>>
>>>> I configured checkstyle to report if there is no Javadoc on public
>>>> methods (and constructors). Is there a way to tell checkstyle not to bother
>>>> about constructors of java.lang.Exception subclasses?
>>>>
>>>> regards,
>>>>
>>>> Wim
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win great
>>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>>> world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Checkstyle-user mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>>>>
>>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Checkstyle-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>>>
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Checkstyle-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>>
>>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Checkstyle-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user