Home
last modified time | relevance | path

Searched refs:IllformedLocaleException (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DIllformedLocaleExceptionTest.java22 import java.util.IllformedLocaleException;
32 IllformedLocaleException exception = new IllformedLocaleException(); in testConstructor()
39 IllformedLocaleException exception = new IllformedLocaleException("message", 6); in testGetErrorIndex()
DLocaleTest.java38 import java.util.IllformedLocaleException;
296 } catch (IllformedLocaleException expected) { in test_Builder_setLanguage()
305 } catch (IllformedLocaleException expected) { in test_Builder_setLanguage()
312 } catch (IllformedLocaleException expected) { in test_Builder_setLanguage()
340 } catch (IllformedLocaleException expected) { in test_Builder_setRegion()
347 } catch (IllformedLocaleException expected) { in test_Builder_setRegion()
354 } catch (IllformedLocaleException expected) { in test_Builder_setRegion()
382 } catch (IllformedLocaleException expected) { in test_Builder_setVariant()
389 } catch (IllformedLocaleException expected) { in test_Builder_setVariant()
395 } catch (IllformedLocaleException expected) { in test_Builder_setVariant()
[all …]
/libcore/ojluni/src/main/java/java/util/
DIllformedLocaleException.java42 public class IllformedLocaleException extends RuntimeException { class
53 public IllformedLocaleException() { in IllformedLocaleException() method in IllformedLocaleException
63 public IllformedLocaleException(String message) { in IllformedLocaleException() method in IllformedLocaleException
77 public IllformedLocaleException(String message, int errorIndex) { in IllformedLocaleException() method in IllformedLocaleException
DLocale.java2071 throw new IllformedLocaleException("Invalid language: " + language); in normalizeAndValidateLanguage()
2236 throw new IllformedLocaleException("Invalid region: " + region); in normalizeAndValidateRegion()
2328 } catch (IllformedLocaleException ilfe) { in getDisplayVariant()
2359 throw new IllformedLocaleException("Invalid variant: " + variant); in normalizeAndValidateVariant()
2848 throw new IllformedLocaleException(e.getMessage()); in readObject()
3066 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setLocale()
3092 throw new IllformedLocaleException(sts.getErrorMessage(), sts.getErrorIndex()); in setLanguageTag()
3115 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setLanguage()
3136 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setScript()
3161 throw new IllformedLocaleException(e.getMessage(), e.getErrorIndex()); in setRegion()
[all …]
/libcore/luni/src/main/java/libcore/icu/
DICU.java23 import android.icu.util.IllformedLocaleException;
668 } catch (IllformedLocaleException e) { in getCurrencyCode()
/libcore/
Dopenjdk_java_files.bp953 "ojluni/src/main/java/java/util/IllformedLocaleException.java",
DEXPECTED_UPSTREAM945 …main/java/java/util/IllformedLocaleException.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes…
/libcore/api/
Dcurrent.txt14088 public class IllformedLocaleException extends java.lang.RuntimeException {
14089 ctor public IllformedLocaleException();
14090 ctor public IllformedLocaleException(String);
14091 ctor public IllformedLocaleException(String, int);