Yes, but the exception was designed to be thrown when the cache loader implementation encountered a problem, e.g. if it was not able to connect to a DB in the case of JDBCCacheLoader. I think we should differentiate between an exception caused by an internal failure (a 'real' exception), and an exception thrown when a node is not found. If we go for reuse of the existing Exception in the signature, then I'd rather use the proposed "null return value" scheme.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913768#3913768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913768 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user