Re: Error trapping

2007-05-18 Thread David kerber
Joe Riopel wrote: Can't you grab that from the stack trace? http://java.sun.com/j2se/1.4.2/docs/api/java/lang/StackTraceElement.html Looks like a possibility; I'll have to look into it. Thanks for the suggestion. D - To

Re: Error trapping

2007-05-18 Thread Joe Riopel
Can't you grab that from the stack trace? http://java.sun.com/j2se/1.4.2/docs/api/java/lang/StackTraceElement.html - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Error trapping

2007-05-18 Thread Nelson, Tracy M.
I actually have a note about this exact thing. Check here: http://randomcoolzip.blogspot.com/2006/02/hack-of-day.html | -Original Message- | From: David kerber [mailto:[EMAIL PROTECTED] | Sent: Friday, 18 May, 2007 12:47 | To: users@tomcat.apache.org | Subject: Error trapping | | In my

Re: Error trapping

2007-05-18 Thread David kerber
So how do I use that getMethodName code? Can I make a utility routine that I can call from my catch block, and call it with the Exception object (so I can put the function call inline with the error report string), or do I have to embed the 3 functional lines of code into my catch block? D

Re: Error trapping

2007-05-18 Thread Martin Gainty
users@tomcat.apache.org Sent: Friday, May 18, 2007 3:01 PM Subject: Re: Error trapping So how do I use that getMethodName code? Can I make a utility routine that I can call from my catch block, and call it with the Exception object (so I can put the function call inline with the error report

RE: Error trapping

2007-05-18 Thread Nelson, Tracy M.
: Error trapping | | So how do I use that getMethodName code? Can I make a utility routine | that I can call from my catch block, and call it with the Exception | object (so I can put the function call inline with the error report | string), or do I have to embed the 3 functional lines of code