tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David kerber <dcker...@verizon.net>
Subject Error trapping
Date Fri, 18 May 2007 17:47:13 GMT
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message