Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 3,637 for throwIf (0.05 seconds)

  1. src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            transformer = new TestableAbstractFessFileTransformer();
            transformer.fessConfig = ComponentUtil.getFessConfig();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/ntlmssp/av/AvPairs.java

        }
    
        /**
         * Decode a list of AvPairs
         *
         * @param data the encoded AV pairs data
         * @return individual pairs
         * @throws CIFSException if decoding fails
         */
        public static List<AvPair> decode(final byte[] data) throws CIFSException {
            final List<AvPair> pairs = new LinkedList<>();
            int pos = 0;
            boolean foundEnd = false;
            while (pos + 4 <= data.length) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/AbstractLoadingCache.java

      @Override
      public V getUnchecked(K key) {
        try {
          return get(key);
        } catch (ExecutionException e) {
          throw new UncheckedExecutionException(e.getCause());
        }
      }
    
      @Override
      public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
        Map<K, V> result = new LinkedHashMap<>();
        for (K key : keys) {
          if (!result.containsKey(key)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            when(delegate.next()).thenReturn(entry1, entry2);
    
            // Adapter that always throws
            FileEntryAdapterIterator iterator = new FileEntryAdapterIterator(parent, delegate, null) {
                @Override
                protected SmbResource adapt(FileEntry e) throws MalformedURLException {
                    throw new MalformedURLException("Always fails");
                }
            };
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostMultipart().run();
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/eventbus/EventBus.java

       * @throws IllegalArgumentException if the object was not previously registered.
       */
      public void unregister(Object object) {
        subscribers.unregister(object);
      }
    
      /**
       * Posts an event to all registered subscribers. This method will return successfully after the
       * event has been posted to all subscribers, and regardless of any exceptions thrown by
       * subscribers.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  7. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

            .setBody(response.toString());
      }
    
      private MockResponse fileToResponse(String path, File file) throws IOException {
        return new MockResponse()
            .setStatus("HTTP/1.1 200")
            .setBody(fileToBytes(file))
            .addHeader("content-type: " + contentType(path));
      }
    
      private Buffer fileToBytes(File file) throws IOException {
        Buffer result = new Buffer();
        result.writeAll(Okio.source(file));
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

        @BeforeEach
        void setUp() {
            keys = new HashMap<>();
        }
    
        // Test successful PAC creation with mocked Pac construction
        @Test
        void testConstructorSuccess() throws PACDecodingException {
            // Setup key
            byte[] keyBytes = new byte[32];
            KerberosKey kdcKey = new KerberosKey(null, keyBytes, PacSignature.HMAC_SHA1_96_AES256, 1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/DoubleMath.java

                return x;
              } else {
                return z;
              }
            }
        }
        throw new AssertionError();
      }
    
      /**
       * Returns the {@code int} value that is equal to {@code x} rounded with the specified rounding
       * mode, if possible.
       *
       * @throws ArithmeticException if
       *     <ul>
       *       <li>{@code x} is infinite or NaN
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/AbstractIterator.java

       * the first invocation of {@code hasNext} or {@code next} following each successful call to
       * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception,
       * {@code computeNext} is guaranteed to never be called again.
       *
       * <p>If this method throws an exception, it will propagate outward to the {@code hasNext} or
       * {@code next} invocation that invoked this method. Any further attempts to use the iterator will
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top