Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 2,652 for throwIf (0.11 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

                    throw de;
    
                MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this);
                handle.sendrecv(rpc2);
            }
        }
    
        public void close() throws IOException {
            MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

                    if ( key == null ) {
                        throw new PACDecodingException("Missing key");
                    }
                    return calculateMacHMACAES(usage, key, data);
                }
                else {
                    throw new PACDecodingException("Invalid MAC algorithm");
                }
            }
            catch ( GeneralSecurityException e ) {
                throw new PACDecodingException("Failed to calculate MAC", e);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

       * that this throws different exception types, and throws an exception if {@code null} would be
       * returned).
       *
       * @param position position of the element to return
       * @return the element at the specified position in this fluent iterable
       * @throws IndexOutOfBoundsException if {@code position} is negative or greater than or equal to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTree.java

                     * reappear in this client's lifetime.
                     */
                    treeDisconnect( true );
                }
                throw se;
            }
    }
        }
        void treeConnect( ServerMessageBlock andx,
                                ServerMessageBlock andxResponse ) throws SmbException {
    
    synchronized (session.transport()) {
            String unc;
    
            while (connectionState != 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

      public void readFully(byte[] b, int off, int len) throws IOException {
        ByteStreams.readFully(this, b, off, len);
      }
    
      @Override
      public int skipBytes(int n) throws IOException {
        return (int) in.skip(n);
      }
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      public int readUnsignedByte() throws IOException {
        int b1 = in.read();
        if (0 > b1) {
          throw new EOFException();
        }
    
        return b1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

            e.printStackTrace();
          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
            try (ResponseBody responseBody = response.body()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              Headers responseHeaders = response.headers();
              for (int i = 0, size = responseHeaders.size(); i < size; i++) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            }
        }
    
        public void test_buildRedirectLocation() throws Exception {
            assertEquals("http://localhost/login.html", HcHttpClient.buildRedirectLocation("http://localhost/", "/login.html"));
        }
    
        // public void test_doGet_mt() throws Exception {
        // ExecutorService executorService = Executors.newFixedThreadPool(1);
        //
        // // HttpClient Parameters
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ArrayTable.java

        return copy;
      }
    
      /**
       * Not supported. Use {@link #eraseAll} instead.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link #eraseAll}
       */
      @DoNotCall("Always throws UnsupportedOperationException")
      @Override
      @Deprecated
      public void clear() {
        throw new UnsupportedOperationException();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top