Feature Requests item #445930, was opened at 2001-07-30 05:41
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402707&aid=445930&group_id=31602

Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Andrew Stevens (stevensa)
>Assigned to: Ara Abrahamian (ara_e_w)
Summary: Better exception handling

Initial Comment:
If tags and/or their arguments are incorrect (or 
missing, in the case of mandatory ones), it would be 
nice if the doclet just generated a concise, helpful 
error message instead of generating an uncaught 
exception.

e.g. a single line "Mandatory parameter 'type' missing 
for @ejb:transaction tag in Foo.getBar()" would be 
much more useful than
"[ejbdoclet] java.lang.IllegalArgumentException: 
Expected parameter name=type ,index=null for current-
method=getBar and 
tagName=ejb:transaction ,paramName=type ,paramNum=-1 
not found!"
followed by 41(!) lines of stack trace.  This was 
particularly annoying while I was switching my EJBs 
over to the new consolidated tags; the first time I 
ran the build script, the ANT log file was over 250k...


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402707&aid=445930&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to