]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
ignored for i18n
authorRoland Haeder <roland@mxchange.org>
Thu, 28 Apr 2016 17:45:12 +0000 (19:45 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 28 Apr 2016 17:45:12 +0000 (19:45 +0200)
src/java/org/mxchange/pizzaapplication/beans/customer/PizzaAdminCustomerWebRequestBean.java

index a8bc117cdf417e4cd66b6184b23b5ef88b5ae874..3b530d33ca7af8fa4ba9f6be025307a858c0ed66 100644 (file)
@@ -159,22 +159,22 @@ public class PizzaAdminCustomerWebRequestBean implements PizzaAdminCustomerWebRe
                // Parameters must be valid
                if (null == customer) {
                        // Throw NPE
-                       throw new NullPointerException("customer is null");
+                       throw new NullPointerException("customer is null"); //NOI18N
                } else if (customer.getCustomerId() == null) {
                        // Throw again ...
-                       throw new NullPointerException("customer.customerId is null");
+                       throw new NullPointerException("customer.customerId is null"); //NOI18N
                } else if (customer.getCustomerId() < 1) {
                        // Invalid id number
-                       throw new IllegalArgumentException(MessageFormat.format("customer.customerId={0} is not valid", customer.getCustomerId()));
+                       throw new IllegalArgumentException(MessageFormat.format("customer.customerId={0} is not valid", customer.getCustomerId())); //NOI18N
                } else if (customer.getCustomerContact() == null) {
                        // Throw NPE again
-                       throw new NullPointerException("customer.customerContact is null");
+                       throw new NullPointerException("customer.customerContact is null"); //NOI18N
                } else if (customer.getCustomerContact().getContactId() == null) {
                        // .. and again
-                       throw new NullPointerException("customer.customerContact.contactId is null");
+                       throw new NullPointerException("customer.customerContact.contactId is null"); //NOI18N
                } else if (customer.getCustomerContact().getContactId() < 1) {
                        // Invalid id
-                       throw new IllegalArgumentException(MessageFormat.format("customer.customerContact.contactId={0} is not valid", customer.getCustomerContact().getContactId()));
+                       throw new IllegalArgumentException(MessageFormat.format("customer.customerContact.contactId={0} is not valid", customer.getCustomerContact().getContactId())); //NOI18N
                }
 
                // @TODO Set all data