- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 2,684 for catch (0.03 seconds)
-
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
final SuggestWriterResult result = new SuggestWriterResult(); try { client.prepareDelete().setIndex(index).setId(id).execute().actionGet(settings.getIndexTimeout()); } catch (final Exception e) { result.addFailure(e); } return result; } @Override
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 20 08:32:33 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosToken.java
} byte[] content; try (ASN1InputStream stream = new ASN1InputStream(token)) { content = ASN1Util.readUnparsedTagged(0, 0x8000, stream); } catch (IOException e) { throw new PACDecodingException("Malformed kerberos token", e); } try (ASN1InputStream stream = new ASN1InputStream(content)) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
try { suggestJob.executeSuggestCreator(); // In test environment, exception handling may vary } catch (JobProcessingException e) { assertTrue(e.getMessage().contains("SuggestCreator Process terminated")); } catch (Exception e) { // May throw different exception in test environment assertNotNull(e); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 31.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
try { File tempFile = File.createTempFile(prefix, suffix); tempFile.deleteOnExit(); return tempFile; } catch (IOException e) { throw new RuntimeException(e); } } }; systemHelper.init(); ComponentUtil.register(systemHelper, "systemHelper");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
try { // Create SmbFile objects from cached info SmbFile file = createSmbFileFromCache(directoryPath, fileInfo); files.add(file); } catch (Exception e) { log.warn("Error creating SmbFile from cache for {}: {}", fileInfo.getName(), e.getMessage()); // For testing purposes, continue processing other filesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
// Test shutdown without listener should throw NullPointerException try { jobExecutor.shutdown(); fail("Expected NullPointerException"); } catch (NullPointerException e) { // Expected exception assertNotNull(e); } } @Test public void test_shutdown_multipleCalls() { // Test multiple shutdown callsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
throw new IOException("Reconnection failed for " + info.getPath()); } } catch (InterruptedException e) { Thread.currentThread().interrupt(); throw new RuntimeException("Reconnection interrupted", e); } catch (Exception e) { log.debug("Reconnection attempt {} failed for {}: {}", attempt + 1, info.getPath(), e.getMessage());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (1) -
android/guava/src/com/google/common/cache/Striped64.java
static { try { UNSAFE = getUnsafe(); Class<?> ak = Cell.class; VALUE_OFFSET = UNSAFE.objectFieldOffset(ak.getDeclaredField("value")); } catch (Exception e) { throw new Error(e); } } } /** * ThreadLocal holding a single-slot int array holding hash code. Unlike the JDK8 version of thisCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 15 22:17:15 GMT 2025 - 11.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThat(future.isCancelled()).isFalse(); try { getDone(future); fail(); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(expectedException); } try { getDoneFromTimeoutOverload(future); fail(); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(expectedException); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java
body.crudMode = CrudMode.CREATE; final LabelType labelType = getLabelType(body).map(entity -> { try { labelTypeService.store(entity); } catch (final Exception e) { logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.5K bytes - Click Count (0)