RE: [Opensymphony-oscache] threading issues with NeedsRefreshException
"David McCoy" <[email protected]> Wed, 13 Jul 2005 13:37:21 -0400
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <[email protected]> |
I agree. A null would be preferable than having to catch and throw away an exception. -----Original Message----- From: snafu [mailto:[email protected]] Sent: Wednesday, July 13, 2005 12:36 PM To: [email protected] Subject: [Opensymphony-oscache] threading issues with NeedsRefreshException I'm not suggesting that I somehow expect OSCache to somehow magically refresh the data, thats retarded. What I'm saying is having a request for a stale cache item throw an exception is an ugly implementation. Exceptions are for exceptional cases not to control flow. Clearly the occurence of a stale cache entry is in no way 'exceptional' --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=4200&messageID=10525 #10525 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]