Examples of ReplicationException


Examples of org.infinispan.remoting.ReplicationException

               // lets print a stack trace first.
               Throwable throwable = (Throwable) rsp;
               if (trace) {
                  log.trace("Received Throwable from remote cache", throwable);
               }
               throw new ReplicationException(throwable);
            }
         }
      }
   }
View Full Code Here

Examples of org.infinispan.remoting.ReplicationException

         } catch (CacheException e) {
            log.error("Replication exception", e);
            throw e;
         } catch (Exception ex) {
            log.error("Unexpected exception", ex);
            throw new ReplicationException("Unexpected exception while replicating", ex);
         }
      }
   }
View Full Code Here

Examples of org.infinispan.remoting.ReplicationException

               // lets print a stack trace first.
               Throwable throwable = (Throwable) rsp;
               if (trace) {
                  log.trace("Received Throwable from remote cache", throwable);
               }
               throw new ReplicationException(throwable);
            }
         }
      }
   }
View Full Code Here

Examples of org.infinispan.remoting.ReplicationException

               // lets print a stack trace first.
               Throwable throwable = (Throwable) rsp;
               if (trace) {
                  log.trace("Received Throwable from remote cache", throwable);
               }
               throw new ReplicationException(throwable);
            }
         }
      }
   }
View Full Code Here

Examples of org.infinispan.remoting.ReplicationException

         } catch (CacheException e) {
            log.error("Replication exception", e);
            throw e;
         } catch (Exception ex) {
            log.error("Unexpected exception", ex);
            throw new ReplicationException("Unexpected exception while replicating", ex);
         }
      }
   }
View Full Code Here

Examples of org.infinispan.remoting.ReplicationException

               // lets print a stack trace first.
               Throwable throwable = (Throwable) rsp;
               if (trace) {
                  log.trace("Received Throwable from remote cache", throwable);
               }
               throw new ReplicationException(throwable);
            }
         }
      }
   }
View Full Code Here

Examples of org.infinispan.remoting.ReplicationException

               // lets print a stack trace first.
               Throwable throwable = (Throwable) rsp;
               if (trace) {
                  log.trace("Received Throwable from remote cache", throwable);
               }
               throw new ReplicationException(throwable);
            }
         }
      }
   }
View Full Code Here

Examples of org.infinispan.remoting.ReplicationException

   // --------------------------------------------------------------

   protected void assertTxIsStillValid(Transaction tx) {
      if (!TransactionTable.isActive(tx)) {
         try {
            throw new ReplicationException("prepare() failed -- local transaction status is not STATUS_ACTIVE; is " + tx.getStatus());
         }
         catch (SystemException e) {
            throw new ReplicationException("prepare() failed -- local transaction status is not STATUS_ACTIVE; Unable to retrieve transaction status.");
         }
      }
   }
View Full Code Here

Examples of org.infinispan.remoting.ReplicationException

               // lets print a stack trace first.
               Throwable throwable = (Throwable) rsp;
               if (trace) {
                  log.trace("Received Throwable from remote cache", throwable);
               }
               throw new ReplicationException(throwable);
            }
         }
      }
   }
View Full Code Here

Examples of org.jboss.cache.ReplicationException

    List resps;
    // JBCACHE-1186
    resps = cache.getRPCManager().callRemoteMethods(null,  clusteredGet, GroupRequest.GET_ALL, config.getTimeout(), new ResponseValidityFilter(cache.getMembers(), cache.getLocalAddress(), dataCommand), false);

    if (resps == null) {
      throw new ReplicationException("No replies to call " + dataCommand  + ".  Perhaps we're alone in the cluster?"); //$NON-NLS-1$ //$NON-NLS-2$
    }
   
    return resps;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.