if (!helper.isValid()) {
throw new BindingConfigParseException("Invalid binding: " + bindingConfig);
}
PlanetName planetName = getPlanetName(helper);
if (planetName == null) {
throw new BindingConfigParseException("Invalid binding, unknown planet: " + bindingConfig);
}
AstroBindingConfig astroConfig = new AstroBindingConfig(planetName, helper.type, helper.property, helper.offset);