Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 433 for throwable (0.07 sec)

  1. guava/src/com/google/common/hash/LittleEndianByteArray.java

            return ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN)
                ? UnsafeByteArray.UNSAFE_LITTLE_ENDIAN
                : UnsafeByteArray.UNSAFE_BIG_ENDIAN;
          }
        } catch (Throwable t) {
          // ensure we really catch *everything*
        }
    
        return JavaLittleEndianBytes.INSTANCE;
      }
    
      // Compare AbstractFuture.VarHandleAtomicHelperMaker.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(handle.getFileId()).thenReturn(new byte[16]);
            when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any()))
                    .thenThrow(new SmbException(0xC0000120, (Throwable) null));
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
            List<FileNotifyInformation> result = sut.watch();
    
            assertNull(result, "Cancelled watch should return null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

           */
          setException(e);
          return;
        }
    
        T transformResult;
        try {
          transformResult = doTransform(localFunction, sourceResult);
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          // This exception is irrelevant in this thread, but useful for the client.
          setException(t);
          return;
        } finally {
          function = null;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       */
      public <X extends Throwable> ClosingFuture<V> catching(
          Class<X> exceptionType, ClosingFunction<? super X, ? extends V> fallback, Executor executor) {
        return catchingMoreGeneric(exceptionType, fallback, executor);
      }
    
      // Avoids generic type capture inconsistency problems where |? extends V| is incompatible with V.
      private <X extends Throwable, W extends V> ClosingFuture<V> catchingMoreGeneric(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ResourceUtil.java

                if (webinfPath != null && Files.exists(Paths.get(webinfPath))) {
                    return Paths.get(webinfPath, names);
                }
            } catch (final Throwable e) {
                // ignore
            }
            final String webinfBase = root + base;
            if (Files.exists(Paths.get(webinfBase))) {
                return Paths.get(webinfBase, names);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

                    new EqualsTester().addEqualityGroup(new EqualsBasedOnToString("foo")).testEquals());
        assertThat(e).hasMessageThat().contains("toString representation");
      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThat(getDone(future)).isEqualTo(expectedResult);
        assertThat(getDoneFromTimeoutOverload(future)).isEqualTo(expectedResult);
      }
    
      private static void assertFailed(AbstractFuture<Integer> future, Throwable expectedException)
          throws InterruptedException, TimeoutException {
        assertDone(future);
        assertThat(future.isCancelled()).isFalse();
    
        try {
          getDone(future);
          fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("finalize() logs a warning when not closed (no exception)")
        void finalize_logsWhenNotClosed() throws Throwable {
            when(cfg.isTraceResourceUsage()).thenReturn(true); // exercise backtrace branch
            stubValidTree(2L, true, true);
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//host/share", 0, 0, 0, 0, 0L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Monitor.java

       */
      @GuardedBy("lock")
      private boolean isSatisfied(Guard guard) {
        try {
          return guard.isSatisfied();
        } catch (Throwable throwable) {
          // Any Exception is either a RuntimeException or sneaky checked exception.
          signalAllWaiters();
          throw throwable;
        }
      }
    
      /** Signals all threads waiting on guards. */
      @GuardedBy("lock")
      private void signalAllWaiters() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                } else {
                    try {
                        dataStore.store(dataConfig, indexUpdateCallback, initParamMap);
                    } catch (final Throwable e) {
                        logger.error("Failed to process a data crawling: {}", dataConfig.getName(), e);
                        ComponentUtil.getComponent(FailureUrlService.class)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top