+ // First, validate all parameter
+ if (headquarterCompanyName == null) {
+ // Is null
+ throw new NullPointerException("headquarterCompanyName is null"); //NOI18N
+ } else if (headquarterCompanyName.isEmpty()) {
+ // Is null
+ throw new IllegalArgumentException("headquarterCompanyName is empty"); //NOI18N
+ } else if (null == headquarterCity) {