@Override public String getMessage() { InternalDistributedMember s = getSender(); String m = super.getMessage(); return (s != null) ? ("From " + s + ": " + m) : m; } }
logger.debug( "RemoteOperationResponse got CacheClosedException from {}, throwing RemoteOperationException", e.getSender(), t);
logger.debug( "PartitionResponse got CacheClosedException from {}, throwing ForceReattemptException", e.getSender(), t); throw new ForceReattemptException( "PartitionResponse got remote CacheClosedException", logger.debug( "PartitionResponse got DiskAccessException from {}, throwing ForceReattemptException", e.getSender(), t); throw new ForceReattemptException( "PartitionResponse got remote CacheClosedException", } else if (t instanceof LowMemoryException) { logger.debug("PartitionResponse re-throwing remote LowMemoryException from {}", e.getSender(), t); throw (LowMemoryException) t;
public static void send(DistributionManager dm) { Set recipients = dm.getOtherDistributionManagerIds(); ReplyProcessor21 replyProcessor = new ReplyProcessor21(dm, recipients); CheckTypeRegistryState msg = new CheckTypeRegistryState(replyProcessor.getProcessorId()); msg.setRecipients(recipients); dm.putOutgoing(msg); try { replyProcessor.waitForReplies(); } catch (ReplyException e) { if (e.getCause() instanceof PdxInitializationException) { throw new PdxInitializationException( "Bad PDX configuration on member " + e.getSender() + ": " + e.getCause().getMessage(), e.getCause()); } else { throw new InternalGemFireError("Unexpected exception", e); } } catch (InterruptedException e) { throw new InternalGemFireError("Unexpected exception", e); } }