> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Recovery from OutOfMemoryError? > > I generally think of this as "failure return" as simply allowing the > exception to propagate.
That can work, but since OOMEs don't require "throws" declarations on methods, it's usually better for the lump of code that took the original hit to wrapper the OOME in something unique to the function. This also helps in getting the programmers who write code that calls the lump in question to think about the issue. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]