User: patriot1burke
  Date: 01/08/08 09:23:46

  Modified:    src/main/org/jboss/ejb/plugins CMPPersistenceManager.java
  Log:
  catch and throw RemoveException
  
  Revision  Changes    Path
  1.30      +7 -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.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- CMPPersistenceManager.java        2001/08/03 17:15:44     1.29
  +++ CMPPersistenceManager.java        2001/08/08 16:23:46     1.30
  @@ -53,7 +53,7 @@
   *   @author <a href="mailto:[EMAIL PROTECTED]";>Dan Christopherson</a>
   *   @author <a href="mailto:[EMAIL PROTECTED]";>Bill Burke</a>
   *   @author <a href="mailto:[EMAIL PROTECTED]";>Andreas Schaefer</a>
  -*   @version $Revision: 1.29 $
  +*   @version $Revision: 1.30 $
   *
   *   Revisions:
   *   20010621 Bill Burke: removed loadEntities call because CMP read-ahead is now
  @@ -435,7 +435,12 @@
         } 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

Reply via email to