- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 233 for CHECKED (0.04 seconds)
-
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertEquals(specialMessage, exception.getMessage()); }); } @Test @DisplayName("Should handle different cause types") void testVariousCauseTypes() { // Test with checked exception Exception checkedException = new java.io.IOException("IO Error"); assertDoesNotThrow(() -> { RuntimeCIFSException exception = new RuntimeCIFSException(checkedException);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
* <li>To treat {@link InterruptedException} uniformly with other exceptions, use {@link * Futures#getChecked(Future, Class) Futures.getChecked}. * <li>To get uninterruptibility and remove checked exceptions, use {@link * Futures#getUnchecked}. * </ul> * * @throws ExecutionException if the computation threw an exception * @throws CancellationException if the computation was cancelled
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 23:24:32 GMT 2026 - 22.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Platform.java
* * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552 */ /* * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if * likewise not type-checked)? Could our single caller do something different? */ @SuppressWarnings({"nullness", "unchecked"}) static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
assertEquals(runtimeException, exception.getCause()); } @Test public void test_constructorWithThrowableCause_CheckedException() { // Test with checked exception (IOException) String message = "IO error during thumbnail generation"; Exception checkedException = new java.io.IOException("File not found");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.3K bytes - Click Count (0) -
internal/pubsub/pubsub.go
continue case <-doneCh: return } } } }() return nil } // NumSubscribers returns the number of current subscribers, // The mask is checked against the active subscribed types, // and 0 will be returned if nobody is subscribed for the type(s). func (ps *PubSub[T, M]) NumSubscribers(mask M) int32 { types := Mask(atomic.LoadUint64(&ps.types))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 06 16:57:30 GMT 2024 - 5.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Strings.java
} return builder.toString(); } @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static String lenientToString(@Nullable Object o) { if (o == null) { return "null"; } try { return o.toString(); } catch (Exception e) { // sneaky checked exception // Default toString() behavior - see Object.toString() String objectToString =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/Platform.java
* - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552 */ /* * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if * likewise not type-checked)? Could our single caller do something different? */ @SuppressWarnings({"nullness", "unchecked"}) static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 4.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesInfoTask.java
if (compileOnlyArtifacts.contains(dep.getGroup() + ":" + dep.getName() + ":" + dep.getVersion())) { continue; } // only external dependencies are checked if (dep instanceof ProjectDependency) { continue; } final String url = createURL(dep.getGroup(), dep.getName(), dep.getVersion());
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 8.6K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
JobNotFoundException exception = new JobNotFoundException("test"); // Simply verify the exception can be created without issues // The serialVersionUID is compile-time checked assertNotNull(exception); } @Test public void test_stackTrace() { // Test that stack trace is properly captured
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.2K bytes - Click Count (0)