User: patriot1burke
Date: 01/08/08 09:17:37
Modified: src/main/org/jboss/ejb/plugins Tag: Branch_2_4
CMPPersistenceManager.java
Log:
catch and throw RemoveException
Revision Changes Path
No revision
No revision
1.21.2.1 +6 -2 jboss/src/main/org/jboss/ejb/plugins/CMPPersistenceManager.java
Index: CMPPersistenceManager.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/CMPPersistenceManager.java,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -r1.21 -r1.21.2.1
--- CMPPersistenceManager.java 2001/06/15 23:59:07 1.21
+++ CMPPersistenceManager.java 2001/08/08 16:17:36 1.21.2.1
@@ -47,7 +47,7 @@
* @see <related>
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="mailto:[EMAIL PROTECTED]">danch (Dan Christopherson</a>
-* @version $Revision: 1.21 $
+* @version $Revision: 1.21.2.1 $
*/
public class CMPPersistenceManager
implements EntityPersistenceManager {
@@ -447,7 +447,11 @@
} catch (InvocationTargetException ite)
{
Throwable e = ite.getTargetException();
- if (e instanceof RemoteException)
+ if (e instanceof RemoveException)
+ {
+ // Rethrow exception
+ throw (RemoveException)e;
+ } else if (e instanceof RemoteException)
{
// Rethrow exception
throw (RemoteException)e;
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development