exception handling processIt on InOutGenerateRMA.java
This commit is contained in:
parent
a98e5bcaeb
commit
b091184eef
|
@ -246,6 +246,7 @@ public class InOutGenerateRMA extends SvrProcess
|
||||||
{
|
{
|
||||||
processMsg.append(" (NOT Processed)");
|
processMsg.append(" (NOT Processed)");
|
||||||
log.warning("Shipment Processing failed: " + shipment + " - " + shipment.getProcessMsg());
|
log.warning("Shipment Processing failed: " + shipment + " - " + shipment.getProcessMsg());
|
||||||
|
throw new IllegalStateException("Shipment Processing failed: " + shipment + " - " + shipment.getProcessMsg());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!shipment.save())
|
if (!shipment.save())
|
||||||
|
|
Loading…
Reference in New Issue