on 8/24/2000 3:58 PM, "Diethelm Guallar, Gonzalo"
<[EMAIL PROTECTED]> wrote:

> @exception ServletException if there is a servlet problem
> @exception IOException if there is an output problem
> @exception SQLException if there is a database problem
> @exception DataSetException if there is a database problem
> */
> public void exec ( RunData data, String name ) throws Exception
> {
> // blah
> }
> 
> Is the intent to document that the Exception thrown could be
> one of ServletException, IOException, SQLException or DataSetException?
> If that is the case, shouldn't the throws clause explicitly list
> those four exceptions? Otherwise, should all those @exception entries
> be replaced with one like this?
> 
> @exception Exception a generic exception

That is left over cruft from ages ago. It should just be @exception

-jon

-- 
Scarab -
      Java Servlet Based - Open Source
         Bug/Issue Tracking System
        <http://scarab.tigris.org/>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to