Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,971 for Exceptions (0.05 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

            }
          };
    
      @Override
      protected final void tearDown() {
        tearDownStack.runTearDown();
        assertNull(
            "exceptions should not be propagated to uncaught exception handlers",
            thrownByExecutionThread);
      }
    
      public void testServiceStartStop() throws Exception {
        WaitOnRunService service = new WaitOnRunService();
        assertFalse(service.startUpCalled);
    
        service.startAsync().awaitRunning();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/BufferCacheImplTest.java

            assertNotSame(supplied, got, "Zero-sized cache must not return the released instance");
        }
    
        // Edge: releasing null must be a no-op without exceptions
        @Test
        @DisplayName("releaseBuffer(null) is a no-op and does not throw")
        void releaseNullIsNoop() {
            BufferCacheImpl impl = new BufferCacheImpl(1, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/dependencies/dependencies-with-yield.md

    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Feb 09 14:54:09 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        }
        if (!parameters[0].equals(Object.class)) {
          return false;
        }
        return true;
      }
    
      /** Strategy for exception type matching used by {@link NullPointerTester}. */
      private enum ExceptionTypePolicy {
    
        /**
         * Exceptions should be {@link NullPointerException} or {@link UnsupportedOperationException}.
         */
        NPE_OR_UOE() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            spyTarget.send(b, 1, 2);
            verify(out).writeDirect(b, 1, 2, 1);
        }
    
        @Test
        @DisplayName("sendrecv with null buffers throws relevant exceptions")
        void testSendRecvInvalidInputs() throws CIFSException {
            // Null out buffer for SMB2 path -> expect NPE when building request
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                generating = false;
            }
        }
    
        @Override
        public void tearDown() throws Exception {
            if (thumbnailManager != null) {
                try {
                    thumbnailManager.destroy();
                } catch (Exception e) {
                    // Ignore exceptions during teardown
                }
            }
            if (tempDir != null && tempDir.exists()) {
                deleteDirectory(tempDir);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      private static boolean hasConstructorUsableByGetChecked(
          Class<? extends Exception> exceptionClass) {
        try {
          Exception unused = newWithCause(exceptionClass, new Exception());
          return true;
        } catch (Throwable t) { // sneaky checked exception
          return false;
        }
      }
    
      private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/SecureCredentialStorageTest.java

        @BeforeEach
        public void setUp() throws Exception {
            masterPassword = "MasterPassword123!@#".toCharArray();
            storage = new SecureCredentialStorage(masterPassword.clone());
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (storage != null && !storage.isDestroyed()) {
                try {
                    storage.close();
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

     * credentials are retrieved from the {@code jcifs.smb.client.domain},
     * {@code jcifs.smb.client.username}, and {@code jcifs.smb.client.password}
     * properties.
     * <p>
     * Read <a href="../../../authhandler.html">jCIFS Exceptions and
     * NtlmAuthenticator</a> for related information.
     *
     * @deprecated use {@link NtlmPasswordAuthenticator} instead
     */
    @Deprecated
    public class NtlmPasswordAuthentication extends NtlmPasswordAuthenticator {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

       * this method is guaranteed to be called once the computation is complete.
       *
       * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
       * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and
       * logged.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top