exception handling processIt on InvoiceGenerateRMA.java
This commit is contained in:
parent
ef82f295c3
commit
a98e5bcaeb
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue