From b091184eef21de88c5946afce63067bed70607ab Mon Sep 17 00:00:00 2001 From: Edwin Ang Date: Mon, 9 Apr 2012 15:05:43 +0700 Subject: [PATCH] exception handling processIt on InOutGenerateRMA.java --- .../src/org/adempiere/process/InOutGenerateRMA.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.adempiere.base.process/src/org/adempiere/process/InOutGenerateRMA.java b/org.adempiere.base.process/src/org/adempiere/process/InOutGenerateRMA.java index 1ef4438ed7..6b51dcc3ef 100644 --- a/org.adempiere.base.process/src/org/adempiere/process/InOutGenerateRMA.java +++ b/org.adempiere.base.process/src/org/adempiere/process/InOutGenerateRMA.java @@ -246,6 +246,7 @@ public class InOutGenerateRMA extends SvrProcess { processMsg.append(" (NOT Processed)"); log.warning("Shipment Processing failed: " + shipment + " - " + shipment.getProcessMsg()); + throw new IllegalStateException("Shipment Processing failed: " + shipment + " - " + shipment.getProcessMsg()); } if (!shipment.save())