Re: Logging framework for Tomcat -Exceptions

2012-07-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 7/11/12 11:33 PM, Kiran Badi wrote: I know this is not a place to learn Java and thats not my intention.Its time for me to implement robust logging framework,so thought let me ask here as which is light weight and yet can log exceptions

Logging framework for Tomcat -Exceptions

2012-07-11 Thread Kiran Badi
Hi, I have below code for catching DAO exceptions,but I feel its not correct way to do this,Can some one point me to some library which will capture all exceptions which my code will throw and works with tomcat. I implementing Model2 mvc pattern and to my surprise I am able to show values to

Re: Logging framework for Tomcat -Exceptions

2012-07-11 Thread Tim Watts
On Thu, 2012-07-12 at 06:35 +0530, Kiran Badi wrote: Hi, I have below code for catching DAO exceptions, No, it's not. It's code that defines an interface and a poorly implemented exception type. There's no catching. Anywhere. but I feel its not correct way to do this,Can some one point

Re: Logging framework for Tomcat -Exceptions

2012-07-11 Thread Kiran Badi
On 7/12/2012 7:20 AM, Tim Watts wrote: No offense, but this really isn't a list for teaching Java. But what the hell, I'll make one exception: public class DAOException extends Exception { public DAOException(String msg) { super(); } public