- Sort Score
- Num 10 results
- Language All
Results 1661 - 1670 of 2,684 for catch (0.1 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
null, "artifactId of a plugin must be defined. ", plugin); } // This will catch cases like <version></version> or <version/> if (plugin.getVersion() != null && plugin.getVersion().trim().isEmpty()) { addViolation( problems,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
engineObj.numberOfInFlightFetch = response.getNumberOfInFlightFetch(); engineObj.status = response.getStatus().name().toLowerCase(Locale.ROOT); } catch (final Exception e) { engineObj.status = "red"; engineObj.exception = e.getMessage(); } return engineObj; } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 19.7K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
synchronized (this) { try { this.state = 1; final DcerpcMessage bind = new DcerpcBind(this.binding, this); sendrecv(bind); } catch (final IOException ioe) { this.state = 0; throw ioe; } } } /** * Send and receive a DCE/RPC message * * @param msg
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
try { notifications.clear(); // If this succeeds, the implementation allows modification assertTrue(notifications.isEmpty()); } catch (UnsupportedOperationException e) { // If this throws, the implementation returned an immutable list assertEquals(2, notifications.size()); } } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
CompletableFuture<Void> future = CompletableFuture.runAsync(() -> { handleLeaseBreak(key, newState); }); try { future.get(5, TimeUnit.SECONDS); // 5 second timeout } catch (TimeoutException e) { // Force lease release if break handling times out releaseLease(key); log.warn("Lease break timeout for key: {}", key); } } ```
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
assertFalse("Expected no more permutations, but there was one.", permutations.hasNext()); try { permutations.next(); fail("Expected NoSuchElementException."); } catch (NoSuchElementException expected) { } } private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) { assertEquals(expected, permutationSet.size());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
// it's shared to avoid using too much memory in tests byte[] sharedArray = new byte[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Bytes.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } } public void testEnsureCapacity() { assertThat(Bytes.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterables.java
if (!predicate.apply(element)) { if (from > to) { try { list.set(to, element); } catch (UnsupportedOperationException e) { slowRemoveIfForRemainingElements(list, predicate, to, from); return true; } catch (IllegalArgumentException e) { slowRemoveIfForRemainingElements(list, predicate, to, from); return true; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 18:35:28 GMT 2025 - 43.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
end dep ->> operation: Run dependency, e.g. DB session opt raise operation -->> dep: Raise Exception (e.g. HTTPException) opt handle dep -->> dep: Can catch exception, raise a new HTTPException, raise other exception end handler -->> client: HTTP error response end operation ->> client: Return response to clientCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 12.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 19.5K bytes - Click Count (0)