equal
deleted
inserted
replaced
2700 * @throws NullPointerException if <code>attribute</code> is null |
2700 * @throws NullPointerException if <code>attribute</code> is null |
2701 * @throws IllformedLocaleException if <code>attribute</code> is ill-formed |
2701 * @throws IllformedLocaleException if <code>attribute</code> is ill-formed |
2702 * @see #setExtension(char, String) |
2702 * @see #setExtension(char, String) |
2703 */ |
2703 */ |
2704 public Builder removeUnicodeLocaleAttribute(String attribute) { |
2704 public Builder removeUnicodeLocaleAttribute(String attribute) { |
|
2705 Objects.requireNonNull(attribute); |
2705 try { |
2706 try { |
2706 localeBuilder.removeUnicodeLocaleAttribute(attribute); |
2707 localeBuilder.removeUnicodeLocaleAttribute(attribute); |
2707 } catch (LocaleSyntaxException e) { |
2708 } catch (LocaleSyntaxException e) { |
2708 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); |
2709 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); |
2709 } |
2710 } |