Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 2,773 for throwIt (0.05 sec)

  1. android/guava/src/com/google/common/io/AppendableWriter.java

       */
    
      @Override
      public void write(int c) throws IOException {
        checkNotClosed();
        target.append((char) c);
      }
    
      @Override
      public void write(String str) throws IOException {
        checkNotNull(str);
        checkNotClosed();
        target.append(str);
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        checkNotNull(str);
        checkNotClosed();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        private int getStatus(NetShareEnumResponse response) throws Exception {
            Field field = getSuperclassField(response.getClass(), "status");
            field.setAccessible(true);
            return field.getInt(response);
        }
    
        private void setStatus(NetShareEnumResponse response, int value) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "setStatus", int.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlResponse.java

            } catch (final Exception e) {
                throw new CurlException("Failed to access the content.", e);
            }
        }
    
        /**
         * Gets the content of the response as an InputStream.
         *
         * @return the content as an InputStream.
         * @throws IOException if an I/O error occurs.
         * @throws CurlException if the content does not exist.
         */
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

         * @param access the desired access rights
         * @param sid the security identifier of the domain
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid)
                throws IOException {
            this.handle = handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        } while (System.nanoTime() - deadline < 0);
        throw formatRuntimeException(
            "Predicate did not become true within %d second timeout", timeoutSeconds);
      }
    
      /**
       * Waits until the given latch has {@linkplain CountDownLatch#countDown counted down} to zero,
       * invoking the garbage collector as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

         *
         * @param <REQ> The request type
         * @param <REP> The response type
         * @param req The request object used as the cache key
         * @param supplier The function to execute and cache the result
         * @return The result from the supplier (either fresh or cached)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // Then
                assertNotNull(cancel);
                assertEquals(mid, cancel.getMid());
            }
    
            @Test
            @DisplayName("Should throw NullPointerException when config is null")
            void testNullConfigurationThrowsException() throws Exception {
                // Given
                Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       * @return all the constraints implicitly or explicitly required by the class or any of its
       *     superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
          throws ConflictingRequirementsException {
        synchronized (classTesterRequirementsCache) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top