Lines Matching refs:LocaleSyntaxException

59     public InternalLocaleBuilder setLanguage(String language) throws LocaleSyntaxException {
64 throw new LocaleSyntaxException("Ill-formed language: " + language, 0);
71 public InternalLocaleBuilder setScript(String script) throws LocaleSyntaxException {
76 throw new LocaleSyntaxException("Ill-formed script: " + script, 0);
83 public InternalLocaleBuilder setRegion(String region) throws LocaleSyntaxException {
88 throw new LocaleSyntaxException("Ill-formed region: " + region, 0);
95 public InternalLocaleBuilder setVariant(String variant) throws LocaleSyntaxException {
103 throw new LocaleSyntaxException("Ill-formed variant: " + variant, errIdx);
110 public InternalLocaleBuilder addUnicodeLocaleAttribute(String attribute) throws LocaleSyntaxException {
112 throw new LocaleSyntaxException("Ill-formed Unicode locale attribute: " + attribute);
122 public InternalLocaleBuilder removeUnicodeLocaleAttribute(String attribute) throws LocaleSyntaxException {
124 throw new LocaleSyntaxException("Ill-formed Unicode locale attribute: " + attribute);
132 public InternalLocaleBuilder setUnicodeLocaleKeyword(String key, String type) throws LocaleSyntaxException {
134 throw new LocaleSyntaxException("Ill-formed Unicode locale keyword key: " + key);
152 throw new LocaleSyntaxException("Ill-formed Unicode locale keyword type: "
167 public InternalLocaleBuilder setExtension(char singleton, String value) throws LocaleSyntaxException {
171 throw new LocaleSyntaxException("Ill-formed extension key: " + singleton);
204 throw new LocaleSyntaxException("Ill-formed extension value: " + s,
225 public InternalLocaleBuilder setExtensions(String subtags) throws LocaleSyntaxException {
260 throw new LocaleSyntaxException("Incomplete extension '" + singleton + "'",
290 throw new LocaleSyntaxException("Incomplete privateuse:"
300 throw new LocaleSyntaxException("Ill-formed extension subtags:"
376 public InternalLocaleBuilder setLocale(BaseLocale base, LocaleExtensions localeExtensions) throws LocaleSyntaxException {
410 throw new LocaleSyntaxException("Ill-formed language: " + language);
414 throw new LocaleSyntaxException("Ill-formed script: " + script);
418 throw new LocaleSyntaxException("Ill-formed region: " + region);
424 throw new LocaleSyntaxException("Ill-formed variant: " + variant, errIdx);