The JSP spec says very little about JspTagException (nee JspError), but does
indicate that this is the exception that should be thrown when something
goes wrong inside a custom tag. However, in looking at various custom tag
implementations available on the net, I see some places where
JspTagException is thrown, and other places where JspException is thrown.

Is there a rule or convention as to which one should be thrown when? I'm
aware of the fact that JspTagException extends JspException. Do the various
containers even handle the two differently?

Thanks!

--
Martin Cooper
Tumbleweed Communications

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to