exception handling processIt on InvoiceGenerate.java

This commit is contained in:
Edwin Ang 2012-04-09 15:03:07 +07:00
parent 8d88f65b66
commit b8e800f1c0
1 changed files with 2 additions and 0 deletions

View File

@ -492,6 +492,8 @@ public class InvoiceGenerate extends SvrProcess
{
log.warning("completeInvoice - failed: " + m_invoice);
addLog("completeInvoice - failed: " + m_invoice); // Elaine 2008/11/25
throw new IllegalStateException("Invoice Process Failed: " + m_invoice + " - " + m_invoice.getProcessMsg());
}
m_invoice.saveEx();