Jared,
 
 I have yet to see any fusedoc with exceptions, not saying there is not any out there, but I believe it's an awesome idea and for myself, I take what I need from fusedocs and ad-lib where I think it is necessary to fit my needs. The code snippet that you wrote is very straight forward and if another developer did not know what it meant, then he might not should be working on the application.
 
 
 
 
Douglas Brown
Email: [EMAIL PROTECTED]
----- Original Message -----
Sent: Wednesday, May 01, 2002 11:19 AM
Subject: Fusedoc-ing Exceptions

This is probably something that has been discussed on the fbsteer list, but since I can barely make it through all my emails as it is I don�t subscribe to it. 

I�m wondering about fusedoc-ing exceptions that may be thrown within a template, specifically I mean user defined exceptions.  For example, in my fuses if an attribute is missing I will throw a �com.mycompany.attributes.MissingAttributesException�.  I would like to document that somehow so that A) the developer writing the fuse knows about it, and B) a developer using the fuse will know about the exception and can gracefully handle it (hopefully).  I imagine something like:

 

<exceptions>

            <exception type=�com.mycompany.Attributes.MissingAttributeException� onCondition=�A required attribute is missing� comments=�� />

            etc�

</exceptions>

 

Has something like this been proposed? How does everyone currently document exceptions?  *Does* anyone currently document exceptions, or am I (yet again) up in the night?

 

Thanks,

Jared

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to