exception handling processIt on InOutGenerateRMA.java

This commit is contained in:
Edwin Ang 2012-04-09 15:05:43 +07:00
parent a98e5bcaeb
commit b091184eef
1 changed files with 1 additions and 0 deletions

View File

@ -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())