Aside from fixing the interface to not be ejb1.1 specific, no.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Adrian Brock
Sent: Monday, January 05, 2004 5:28 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-dev] InstanceCache - NoSuchObjectException

The interface org.jboss.ejb.plugins.InstanceCache
mandates NoSuchObjectException for bean not found.

This is incorrect for local invocations and leads to an EJBException
wrapping the exception.

Since the cache knows nothing about local/remote the obvious fix is to
"unwrap" the NoSuchObjectException and recreate it as a
NoSuchObjectLocalException wherever get() is used.

Anybody see another way of doing this?

Regards,
Adrian
--
xxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to