users@jersey.java.net

Re: [Jersey] multipart/form-data versus multipart/mixed

From: Craig McClanahan <Craig.McClanahan_at_Sun.COM>
Date: Thu, 20 Nov 2008 15:17:54 -0800

Gili wrote:
> On a related note, Netbeans' Javadoc reader complains about:
>
> BodyPart.getEntityAs() having "duplicate @exception tags":
>
> * @exception IllegalStateException if this method is called when the
> * <code>providers</code> property has not been set
> * @exception IllegalStateException if this method is called when the
> * entity instance is not the unconverted content of the body part
> entity
>
> Are you sure this is legal Javadoc?
>
> Gili
>
Well, the javadoc tool itself doesn't complain :-). But I went ahead
and tweaked it to have only one @exception clause for
IllegalStateException anyway.

Craig