You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2009/11/13 22:19:16 UTC

svn commit: r835993 - /ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java

Author: lektran
Date: Fri Nov 13 21:19:12 2009
New Revision: 835993

URL: http://svn.apache.org/viewvc?rev=835993&view=rev
Log:
Improved exception message

Modified:
    ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java

Modified: ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java?rev=835993&r1=835992&r2=835993&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java (original)
+++ ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceWorker.java Fri Nov 13 21:19:12 2009
@@ -86,7 +86,7 @@
         }
 
         if (invoice == null) {
-            throw new IllegalArgumentException("The invoiceId passed does not match an existing invoice");
+            throw new IllegalArgumentException("The passed invoiceId [" +invoiceId + "] does not match an existing invoice");
         }
 
         return getInvoiceTotal(invoice, actualCurrency);