Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 2,976 for throwIt (0.04 sec)

  1. src/main/java/org/codelibs/fess/entity/GeoInfo.java

         * geo-distance queries for each configured geographic field.
         *
         * @param request the HTTP servlet request containing geographic parameters
         * @throws InvalidQueryException if geo point format is invalid or parsing fails
         */
        public GeoInfo(final HttpServletRequest request) {
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/SingletonContextTest.java

        }
    
        @Test
        void testInitWithNullProperties() throws CIFSException {
            // Test successful initialization with null properties
            assertDoesNotThrow(() -> SingletonContext.init(null));
            assertNotNull(SingletonContext.getInstance());
        }
    
        @Test
        void testInitWithCustomProperties() throws CIFSException {
            // Test successful initialization with custom properties
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java

      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          Headers responseHeaders = response.headers();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            super(out);
        }
    
        @Override
        public synchronized void write(final byte[] b, int off, final int len) throws IOException {
            if (len > 0xFFFF) {
                throw new IOException("write too large: " + len);
            }
            if (off < 4) {
                throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off");
            }
    
            off -= 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

             * @param params the parameters to use during content building
             * @return the modified XContentBuilder
             * @throws IOException if an IO error occurs during building
             */
            XContentBuilder apply(XContentBuilder builder, ToXContent.Params params) throws IOException;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        void treeConnectLogon_happy() throws SmbException {
            // doNothing by default
            session.treeConnectLogon();
            verify(session, times(1)).treeConnectLogon();
        }
    
        // Error propagation: connect to logon share throws SmbException
        @Test
        @DisplayName("treeConnectLogon throws SmbException when underlying call fails")
        void treeConnectLogon_throws() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            assertThrows(IllegalArgumentException.class, () -> context.encryptMessage(null, 123456L),
                    "Should throw IllegalArgumentException for null message");
        }
    
        @Test
        @DisplayName("Should successfully encrypt and decrypt with refactored methods")
        void testRefactoredEncryptionDecryption() throws Exception {
            // Given - Use same key for both encryption and decryption in test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

                }
            }
        }
    
        /**
         * Closes the underlying CrawlerClient and releases any resources associated with it.
         *
         * @throws Exception if an error occurs during the close operation
         */
        @Override
        public void close() throws Exception {
            client.close();
        }
    
        /**
         * Returns the underlying CrawlerClient.
         * @return The CrawlerClient instance.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

            throw ProtocolException(
              "HTTP $code had non-zero Content-Length: ${response.body.contentLength()}",
            )
          }
          return response
        } catch (e: IOException) {
          if (sendRequestException != null) {
            sendRequestException.addSuppressed(e)
            throw sendRequestException
          }
          throw e
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        @Override
        public ArtifactRepository createDefaultLocalRepository() throws InvalidRepositoryException {
            return createLocalRepository(RepositorySystem.defaultUserLocalRepository);
        }
    
        @Override
        public ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException {
            return createRepository(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
Back to top