private static Zone parseZone(String str) throws BindingConfigParseException { if (str == null) { throw new BindingConfigParseException(KEY_ZONE); } try { return Zone.valueOf(str); } catch (Exception e) { throw new BindingConfigParseException("error parsing " + KEY_ZONE); } }