Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 3,282 for throwIt (0.06 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            return this;
        }
    
        /**
         * Extracts data from the input stream using the configured parameters.
         *
         * @return the extracted data
         * @throws MaxLengthExceededException if content length exceeds maximum allowed
         * @throws ExtractException if extraction fails
         */
        public ExtractData extract() {
            final ExtractorFactory extractorFactory = crawlerContainer.getComponent("extractorFactory");
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        @Override
        public Object getContent() throws IOException {
            handshake();
            return this.connection.getContent();
        }
    
        @Override
        public Object getContent(final Class[] classes) throws IOException {
            handshake();
            return this.connection.getContent(classes);
        }
    
        @Override
        public Permission getPermission() throws IOException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  3. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.java

            return read(new XmlStreamReader(in), strict);
        }
    
        /**
         * Method read.
         *
         * @param in a in object.
         * @return PersistedToolchains
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         *         any.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat May 31 10:30:45 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

        void handlesNullDirectory() throws Exception {
            SmbFilenameFilter filter = (dir, name) -> dir == null;
    
            boolean result = filter.accept(null, "anything");
    
            assertTrue(result, "Filter should accept when dir is null as defined");
        }
    
        /**
         * Exception flow: filter throws SmbException and it propagates to caller.
         */
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 8+ users:</b> the {@code Stream} equivalent to this method is {@code
       * stream.collect(MoreCollectors.onlyElement())}.
       *
       * @throws NoSuchElementException if the iterable is empty
       * @throws IllegalArgumentException if the iterable contains multiple elements
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getOnlyElement(Iterable<T> iterable) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 43.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                        throw new DictionaryException("Failed to update " + dictFile.getPath());
                    }
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to update " + dictFile.getPath(), e);
                }
    
            }).orElse(() -> {
                throw new DictionaryException(dictFile.getPath() + " does not exist.");
            });
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        void testConstructorWithInvalidInformationLevel() {
            // The exception is thrown during writeParametersWireFormat when mapInformationLevel is called
            Trans2QueryFSInformation trans2 = new Trans2QueryFSInformation(config, 99);
            assertNotNull(trans2);
    
            // Exception should be thrown when trying to write parameters
            byte[] buffer = new byte[256];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

         * @throws CrawlingAccessException if an error occurs while checking bucket existence
         */
        protected boolean bucketExists(final String name) {
            try {
                final BucketExistsArgs args = BucketExistsArgs.builder().bucket(name).build();
                return minioClient.bucketExists(args);
            } catch (final Exception e) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20K bytes
    - Click Count (2)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(netname, 1);
    
                if (netname != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(netname);
    
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/EncodableTest.java

        }
    
        @Test
        @DisplayName("encode() throws when destination too small")
        void encodeThrowsWhenDestinationTooSmall() {
            byte[] src = makeSeq(5);
            Encodable enc = new ByteEncodable(src, 0, 5);
            byte[] dst = new byte[4]; // too small
    
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, 0),
                    "System.arraycopy should throw for insufficient destination space");
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top