Well, a decent decompiler was the only way i could diagnose a problem that i
posted here and on Usenet and got no replies to.

The problem:

- i wrote a class for my web-app that re-throws caught exceptions,
prepenfding a custom message to the original exception message.

- i use a jsp error page in my web app, so the user gets a friendly error
message, and i get email of the exception message and stack trace

- if my class throws an exception from a scriptlet in a JSP page, the
exception message is included in the email.

- if my class throws an exception from a <jsp: .../> tag, the exception
message is is lost.

So, my coleagues and i decompiled the class files generated from the JSP
file that throws an exception from the <jsp: .../> tag, and discovered that
my exception is caught, and an entirely new exception thrown, without
including the original exception. A bummer indeed, but at least i know it
wasn't something i did.

It so happens that both JRun and Tomcat behave this way. i'd love it if this
were changed in a future release.

Joe

> -----Original Message-----
> From: Scott Stirling [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 04, 2001 2:07 PM
> To: JRun-Talk
> Subject: RE: Connection pooling bug ?!?
> 
> 
> I don't think decompiling the class files is within the 
> limits allowed by
> the license agreement, but I won't go into that.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to