- Sort Score
- Num 10 results
- Language All
Results 881 - 890 of 2,684 for catch (0.02 seconds)
-
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
userService.store(entity); logger.info("Created user: {}", entity.getName()); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to create user: {}", form.name, e); throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 21K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
outsideFile.createNewFile(); try { action.validateFilePath(outsideFile.getAbsolutePath()); fail("Expected IllegalArgumentException"); } catch (final IllegalArgumentException e) { final String message = e.getMessage(); assertTrue("Error message should contain var path: " + message, message.contains(varDir.toFile().getCanonicalPath()));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/FavoriteLogBhv.java
try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); } catch (final DateTimeParseException e) { logger.debug("Invalid date format: {}", value, e); } } return DfTypeUtil.toLocalDateTime(value); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
copySettings(); } /** * */ private final void copySettings() { try { this.setRequestMethod(this.connection.getRequestMethod()); } catch (final ProtocolException e) { throw new RuntimeCIFSException("Failed to set request method", e); } this.headerFields = null;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/exbhv/ScheduledJobBhv.java
public OptionalEntity<ScheduledJob> selectByPK(final String id) { Exception lastException = null; for (int i = 0; i < 30; i++) { try { return super.selectByPK(id); } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to select a job by {}", id, e); } lastException = e;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/exbhv/GroupBhv.java
.map(e -> new Pair<>(e.getKey(), (String) e.getValue())) .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond))); return result; } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ParameterTest.java
* * @author Ben Yu */ @NullUnmarked public class ParameterTest extends TestCase { public void testNulls() { try { Class.forName("java.lang.reflect.AnnotatedType"); } catch (ClassNotFoundException runningInAndroidVm) { /* * Parameter declares a method that returns AnnotatedType, which isn't available on Android.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ParameterTest.java
* * @author Ben Yu */ @NullUnmarked public class ParameterTest extends TestCase { public void testNulls() { try { Class.forName("java.lang.reflect.AnnotatedType"); } catch (ClassNotFoundException runningInAndroidVm) { /* * Parameter declares a method that returns AnnotatedType, which isn't available on Android.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
StringUtil.appendHex(buf, RANDOM.nextInt()); return buf.toString(); } private static byte[] getAddress() { try { return InetAddress.getLocalHost().getAddress(); } catch (final UnknownHostException ignore) { return DEFAULT_ADDRESS; } }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 1.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
boolean expectSuccess = value >= min && value <= max; try { assertThat(UnsignedInteger.valueOf(value).longValue()).isEqualTo(value); assertThat(expectSuccess).isTrue(); } catch (IllegalArgumentException e) { assertThat(expectSuccess).isFalse(); } } } public void testValueOfBigInteger() { long min = 0; long max = (1L << 32) - 1;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 9.6K bytes - Click Count (0)