exception handling processIt on InvoiceGenerateRMA.java

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

View File

@ -207,6 +207,7 @@ public class InvoiceGenerateRMA extends SvrProcess
{ {
processMsg.append(" (NOT Processed)"); processMsg.append(" (NOT Processed)");
log.warning("Invoice Processing failed: " + invoice + " - " + invoice.getProcessMsg()); log.warning("Invoice Processing failed: " + invoice + " - " + invoice.getProcessMsg());
throw new IllegalStateException("Invoice Processing failed: " + invoice + " - " + invoice.getProcessMsg());
} }
if (!invoice.save()) if (!invoice.save())