if (null == basicData) {
// Throw NPE
throw new NullPointerException("basicData is null"); //NOI18N
- } else if (basicData.getCompanyName() == null) {
+ } else if (basicData.getCompanyShortName() == null) {
// Throw NPE again
- throw new NullPointerException("basicData.companyName is null"); //NOI18N
- } else if (basicData.getCompanyName().isEmpty()) {
+ throw new NullPointerException("basicData.companyShortName is null"); //NOI18N
+ } else if (basicData.getCompanyShortName().isEmpty()) {
// Throw NPE again
- throw new IllegalArgumentException("basicData.companyName is empty"); //NOI18N
+ throw new IllegalArgumentException("basicData.companyShortName is empty"); //NOI18N
} else if (basicData.getBasicDataId() == null) {
// Throw NPE again
throw new NullPointerException("basicData.basicDataId is null"); //NOI18N