Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 2,758 for throwIt (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/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.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertDoesNotThrow(() -> cache.resolveSids(handle, policy, sids));
        }
    
        @Test
        @DisplayName("resolveSids(DcerpcHandle,...) throws SmbException on unexpected retval")
        void resolveSids_throwsOnUnexpectedRetval() throws Exception {
            SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));
            DcerpcHandle handle = mock(DcerpcHandle.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

        }
    
        @Override
        public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {
            if (!Features.consumerPom(session.getConfigProperties())) {
                try {
                    Model model = read(project.getFile().toPath());
                    String version = model.getVersion();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

         *
         * @param key 16-byte array
         * @throws IllegalArgumentException if key is not 16 bytes
         */
        public Smb2LeaseKey(byte[] key) {
            if (key == null) {
                throw new IllegalArgumentException("Lease key cannot be null");
            }
            if (key.length != LEASE_KEY_SIZE) {
                throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length);
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java

            return tmp;
        }
    
        /**
         * Adds a normalizer to the chain.
         * @param normalizer The normalizer to add.
         * @throws IllegalArgumentException if normalizer is null
         */
        public void add(final Normalizer normalizer) {
            if (normalizer == null) {
                throw new IllegalArgumentException("normalizer must not be null");
            }
            normalizers.add(normalizer);
        }
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

            if (suppressThrows) {
              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              if (exception == null) {
                exception = t;
              } else {
                exception.addSuppressed(t);
              }
            }
          }
        }
        if (exception != null) {
          throwIfUnchecked(exception);
          throw new RuntimeException("failure during tearDown", exception);
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 01 13:14:50 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/TearDownStack.java

            if (suppressThrows) {
              logger.log(Level.INFO, "exception thrown during tearDown", t);
            } else {
              if (exception == null) {
                exception = t;
              } else {
                exception.addSuppressed(t);
              }
            }
          }
        }
        if (exception != null) {
          throwIfUnchecked(exception);
          throw new RuntimeException("failure during tearDown", exception);
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 01 13:14:50 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
            throw new AssertionError("unexpected exception", targetException);
          }
        } catch (IllegalAccessException e) {
          throw new AssertionError("unexpected exception", e);
        }
      }
    
      private void enterSatisfyGuardAndLeaveInCurrentThread() {
        monitor.enter();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/util/StringsTest.java

            }
    
            @Test
            @DisplayName("findUNITermination should throw exception when termination not found")
            void testFindUNITerminationNotFound() {
                // Given
                byte[] bufferWithoutTermination = "Hello".getBytes(StandardCharsets.UTF_16LE);
    
                // When & Then - the implementation throws ArrayIndexOutOfBoundsException when buffer bounds are exceeded
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/EnumsTest.java

      }
    
    
      @J2ktIncompatible
      @AndroidIncompatible // depends on details of GC and classloading
      public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception {
        WeakReference<?> shadowLoaderReference = doTestClassUnloading();
        GcFinalization.awaitClear(shadowLoaderReference);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top