Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,773 for throwIt (0.05 sec)

  1. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            assertTrue(output.contains("UTF-16 test"));
        }
    
        public void test_run_withIOException() throws InterruptedException {
            InputStream faultyStream = new InputStream() {
                @Override
                public int read() throws IOException {
                    throw new IOException("Test exception");
                }
            };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *
       * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String)} instead.
       *
       * @throws NumberFormatException if the string does not contain a valid unsigned {@code long}
       *     value
       * @throws NullPointerException if {@code string} is null (in contrast to {@link
       *     Long#parseLong(String)})
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println("Server: " + response.header("Server"));
          System.out.println("Date: " + response.header("Date"));
          System.out.println("Vary: " + response.headers("Vary"));
        }
      }
    
      public static void main(String... args) throws Exception {
        new AccessHeaders().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacCredentialType.java

         * @param data the raw credential type data
         * @throws PACDecodingException if the credential type data is invalid
         */
        public PacCredentialType(final byte[] data) throws PACDecodingException {
            this.credentialType = data;
            if (!isCredentialTypeCorrect()) {
                throw new PACDecodingException("Invalid PAC credential type");
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        // Override slow FilterOutputStream impl
        out.write(b, off, len);
      }
    
      @Override
      public void writeBoolean(boolean v) throws IOException {
        ((DataOutputStream) out).writeBoolean(v);
      }
    
      @Override
      public void writeByte(int v) throws IOException {
        ((DataOutputStream) out).writeByte(v);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

        /**
         * Updates the dictionary file with content from an input stream.
         *
         * @param in The input stream containing the new dictionary content.
         * @throws IOException if an I/O error occurs.
         */
        public synchronized void update(final InputStream in) throws IOException {
            try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(null)) {
                reload(updater, in);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

        TransactNamedPipeInputStream(final SmbNamedPipe pipe) throws SmbException, MalformedURLException, UnknownHostException {
            super(pipe, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
            this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) != SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
            lock = new Object();
        }
    
        @Override
        public int read() throws IOException {
            int result = -1;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        } catch (ExecutionException e) {
          throw e.getCause();
        }
      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * throws an {@code ExecutableException} and that the cause of the {@code ExecutableException} is
       * {@code expectedCause}.
       */
      public void assertException(Throwable expectedCause) throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            // Test execute method with negative boost - should throw exception
            QueryContext context = new QueryContext("*:*", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = -1.0f;
    
            try {
                matchAllQueryCommand.execute(context, query, boost);
                fail("Should throw IllegalArgumentException for negative boost");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        void updateType(final int t) {
            this.type = t;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getType()
         */
        @Override
        public int getType() throws CIFSException {
            if (this.type == 0) {
                if (getUNCPath().length() > 1) {
                    this.type = SmbConstants.TYPE_FILESYSTEM;
                } else if (getShare() != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top