/** * Required for serialization * @param l */ public BatchException70(List<BatchException70> l) { super(l.get(0).getMessage()); this.batchId = l.get(0).getBatchId(); this.exceptions = new ArrayList<BatchException70>(); this.exceptions.addAll(l); this.index = this.exceptions.get(0).getIndex(); }
for (BatchException70 be : exception.getExceptions()) { boolean logWarning = true; if (be.getCause() instanceof RegionDestroyedException) { RegionDestroyedException rde = (RegionDestroyedException)be .getCause(); synchronized (notFoundRegionsSync) { if (notFoundRegions.contains(rde.getRegionFullPath())) { } else if (be.getCause() instanceof IllegalStateException && be.getCause().getMessage().contains("Unknown pdx type")) { List<GatewaySenderEventImpl> pdxEvents = processor .getBatchIdToPDXEventsMap().get(be.getBatchId()); if (pdxEvents != null) { for (GatewaySenderEventImpl senderEvent : pdxEvents) { .warning( LocalizedStrings.GatewayEventRemoteDispatcher_A_BATCHEXCEPTION_OCCURRED_PROCESSING_EVENT__0, be.getIndex(), be); List events = processor.getBatchIdToEventsMap().get(be.getBatchId()); .get(be.getIndex());
ack.getBatchException().getBatchId()); if (events != null) { processor.handleSuccessBatchAck(batchId, events.size()); ack.getBatchException().getBatchId()); if (pdxEvents != null) { for (GatewaySenderEventImpl senderEvent : pdxEvents) { List<BatchException70> exceptions = be.getExceptions(); for (int i = 0; i < exceptions.get(0).getIndex(); i++) { processor.eventQueueRemove();
BatchException70 be = new BatchException70(l); ack = new GatewayAck(be, l.get(0).getBatchId());
new Object[] {((InternalDistributedSystem) ds).getDistributionManager().getDistributedSystemId(), ds.getDistributedMember()}); BatchException70 be = new BatchException70(exceptionMessage, e, indexWithoutPDXEvent, batchId); exceptions.add(be); if(!removeOnException) {
BatchException70 be = new BatchException70(e, eventIdx, batchId); exceptions.add(be); if(!removeOnException) {
/** * Required for serialization * @param l */ public BatchException70(List<BatchException70> l) { super(l.get(0).getMessage()); this.batchId = l.get(0).getBatchId(); this.exceptions = new ArrayList<BatchException70>(); this.exceptions.addAll(l); this.index = this.exceptions.get(0).getIndex(); }