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 plain .java files, is there a way of programmatically grabbing
| what method is executing?  I already grab the class for logging in the
| catch block, but can I find the method without going through too many
| gyrations?  Currently, I just hard-code the method name in the text that
| I log along with the error message.
| 
| D
| 
| 
| 
| ---------------------------------------------------------------------
| To start a new topic, e-mail: users@tomcat.apache.org
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]

-----------------------------------------
------------------------------------------------------------
The information contained in this message is confidential
proprietary property of Nelnet, Inc. and its affiliated 
companies (Nelnet) and is intended for the recipient only.
Any reproduction, forwarding, or copying without the express
permission of Nelnet is strictly prohibited. If you have
received this communication in error, please notify us
immediately by replying to this e-mail.
------------------------------------------------------------

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to