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);


Reply via email to