- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for English (0.24 sec)
-
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
} /** * @throws Exception */ @Test public void testErrorMessage_en() throws Exception { // ## Arrange ## Locale.setDefault(Locale.ENGLISH); final NullArgumentException nullArgumentException = new NullArgumentException("hoge"); assertThat(nullArgumentException.getArgName(), is("hoge"));
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/LocaleUtil.java
public static Locale getDefault() { if (defaultLocaleSupplier != null) { return defaultLocaleSupplier.get(); } return Locale.ENGLISH; } public static void setDefault(final Supplier<Locale> localeSupplier) { defaultLocaleSupplier = localeSupplier; }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
} /** * @throws Exception */ @Test public void testErrorMessage_en() throws Exception { // ## Arrange ## Locale.setDefault(Locale.ENGLISH); final SQLException sqlException = new SQLException("manyReason", "barState", 1234); final SQLRuntimeException sqlRuntimeException = new SQLRuntimeException(sqlException); // ## Act ##
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.2K bytes - Viewed (0)