From: sledge <sim...@gm...> - 2009-05-28 09:48:24
|
Hello, Bill, That's a pity. Because I have this huge old project here of thousands of lines, where SQLExceptions were simply uncaught/unlogged. Now I am getting all sorts of errors of various species, and it looks like the only solution is to wrap the try except logger raise blocks around the .executeUpdate statements all this done with the help of regular expressions.. Thanks for answer! -- sledge On Mon, May 25, 2009 at 6:14 PM, Bill Horsman <bi...@lo...> wrote: > Hi Sledge, > > I'm afraid not. I think that's the job of your code to correctly handle all > SQL exceptions. It's not just about making sure the exception is logged - > you also need to react to that exception, even if it's just a message to the > user that "something went wrong". > > - > Bill > > 2009/5/22 sledge <sim...@gm...> >> >> Hello all, wonderful job! >> >> I have set up logging with log4j, but all I am getting are the DEBUG >> and WARN entries. >> >> Is there a way to have all of the SQLExceptions thrown by the DB >> server logged somewhere. No matter if they get caught in the code or >> not. >> >> Thank you, >> >> -- >> sledge >> >> >> ------------------------------------------------------------------------------ >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> is a gathering of tech-side developers & brand creativity professionals. >> Meet >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian >> Group, R/GA, & Big Spaceship. http://www.creativitycat.com >> _______________________________________________ >> Proxool-developer mailing list >> Pro...@li... >> https://lists.sourceforge.net/lists/listinfo/proxool-developer > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Proxool-developer mailing list > Pro...@li... > https://lists.sourceforge.net/lists/listinfo/proxool-developer > > |