Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,616 for threw (0.1 sec)

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

              MILLISECONDS.sleep(DELAY_MS);
              throw new SampleException();
            }
          };
      private static final Runnable GOOD_RUNNABLE =
          new Runnable() {
            @Override
            public void run() {
              try {
                MILLISECONDS.sleep(DELAY_MS);
              } catch (InterruptedException e) {
                throw new RuntimeException(e);
              }
            }
          };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.5K 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. 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)
  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-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

      ) {
        throw UnsupportedOperationException()
      }
    
      override fun removeValue(s: String) {
        throw UnsupportedOperationException()
      }
    
      override fun getValue(s: String): Any {
        throw UnsupportedOperationException()
      }
    
      override fun getValueNames(): Array<String> {
        throw UnsupportedOperationException()
      }
    
      override fun invalidate() {
        throw UnsupportedOperationException()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K 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. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                            if ( this.lmHash.length == 0 && this.ntHash.length == 0 ) {
                                throw new RuntimeException("Null setup prohibited.");
                            }
                        }
                        else if ( tc.getConfig().isDisablePlainTextPasswords() ) {
                            throw new RuntimeException("Plain text passwords are disabled");
                        }
                        else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getInfo ( Class<T> clazz ) throws CIFSException {
            if ( !clazz.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) getInfo();
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableRangeSet.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the {@code RangeSet} unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public void removeAll(RangeSet<C> other) {
        throw new UnsupportedOperationException();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top