throw new IllegalArgumentException("Expected OBX segment, but was: " + segment.getName()); String defaultOBX2Type = parserConfiguration.getDefaultObx2Type(); if (defaultOBX2Type == null) { defaultOBX2Type = System.getProperty(DEFAULT_OBX2_TYPE_PROP);
throw new IllegalArgumentException("Expected OBX segment, but was: " + segment.getName()); String defaultOBX2Type = parserConfiguration.getDefaultObx2Type(); if (defaultOBX2Type == null) { defaultOBX2Type = System.getProperty(DEFAULT_OBX2_TYPE_PROP);