Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,790 for threw (0.02 sec)

  1. guava/src/com/google/common/io/Closer.java

       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

                            || !msg2.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY) ) ) {
                        throw new SmbUnsupportedOperationException("Server does not support extended NTLMv2 key exchange");
                    }
    
                    if ( !msg2.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_128) ) {
                        throw new SmbUnsupportedOperationException("Server does not support 128-bit keys");
                    }
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        ioe.printStackTrace( log );
                    throw new UnknownHostException( name.name );
                }
    
                if( response.received && response.resultCode == 0 ) {
                    return response.addrEntry;
                }
            } while( --n > 0 && request.isBroadcast );
    
            throw new UnknownHostException( name.name );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

          if (cause instanceof RuntimeException) {
            throw (RuntimeException) cause;
          } else if (cause instanceof Error) {
            throw (Error) cause;
          }
        }
        throw e;
      }
    
      @Override
      public V get() throws ExecutionException, InterruptedException {
        try {
          super.get();
        } catch (ExecutionException e) {
          rethrow(e);
        }
        throw new AssertionError("Unreachable");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 12 20:02:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

      override val routePlanner: RoutePlanner,
    ) : ExchangeFinder {
      override fun find(): RealConnection {
        var firstException: IOException? = null
        while (true) {
          if (routePlanner.isCanceled()) throw IOException("Canceled")
    
          try {
            val plan = routePlanner.plan()
    
            if (!plan.isReady) {
              val tcpConnectResult = plan.connectTcp()
              val connectResult =
                when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        throw new SmbUnsupportedOperationException();
                    }
                    throw e;
                }
                try ( SmbFile browser = (SmbFile) parent.resolve(addr.getHostAddress()) ) {
                    try ( SmbTreeHandleImpl th = browser.ensureTreeConnected() ) {
                        if ( th.isSMB2() ) {
                            throw new SmbUnsupportedOperationException();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          }
        }
        return suite;
      }
    
      /** Throw {@link IllegalStateException} if {@link #createTestSuite()} can't be called yet. */
      protected void checkCanCreate() {
        if (subjectGenerator == null) {
          throw new IllegalStateException("Call using() before createTestSuite().");
        }
        if (name == null) {
          throw new IllegalStateException("Call named() before createTestSuite().");
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClusterException.java

    /**
     * An {@link ClusterException} is a data structure that allows for some code to "throw multiple
     * exceptions", or something close to it. The prototypical code that calls for this class is
     * presented below:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     thingToRun.run(); // say this may throw an exception, but you want to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

             /* RPC major / minor version */
            if (buf.dec_ndr_small() != 5 || buf.dec_ndr_small() != 0)
                throw new NdrException("DCERPC version not supported");
            ptype = buf.dec_ndr_small();
            flags = buf.dec_ndr_small();
            if (buf.dec_ndr_long() != 0x00000010) /* Little-endian / ASCII / IEEE */
                throw new NdrException("Data representation not supported");
            length = buf.dec_ndr_short();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        public T next() {
          try {
            return iterator.next();
          } catch (NoSuchElementException e) {
            nextThrewException = true;
            throw e;
          }
        }
    
        @Override
        public void remove() {
          if (nextThrewException) {
            throw new IllegalStateException();
          }
          iterator.remove();
        }
      }
    
      public void testCanCatchSunJavaBug6529795InTargetIterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top