Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 2,342 for Exceptions (0.05 sec)

  1. src/test/java/jcifs/SmbPipeHandleTest.java

            /**
             * Verifies that the close method can be called without throwing an exception.
             * @throws CIFSException if an error occurs during close.
             */
            @Test
            public void testClose() throws CIFSException {
                assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object.");
                // Verify that the close method was called
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            runner.admin().indices().prepareDelete("_all").execute().actionGet();
            runner.refresh();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 13:04:17 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        }
    
        /**
         * Encode the JSP content.
         * @param value The value.
         * @return The encoded value.
         */
        public static String encodeJsp(final String value) {
            return value.replace("<% try{ %>", TRY_STATEMENT)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/Handler.java

                            } catch (final Exception ex) {}
                            if (handlerClass == null) {
                                handlerClass = ClassLoader.getSystemClassLoader().loadClass(className);
                            }
                            handler = (URLStreamHandler) handlerClass.newInstance();
                            break;
                        } catch (final Exception ex) {}
                    }
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exec/Crawler.java

            } catch (final Exception e) {
                logger.warn("Failed to store crawling information: sessionId={}", options.sessionId, e);
            }
    
            try {
                return crawler.doCrawl(options);
            } finally {
                try {
                    crawlingInfoHelper.store(options.sessionId, false);
                } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index.writer;
    
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.exception.SuggestIndexException;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.opensearch.action.bulk.BulkItemResponse;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 20 08:32:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

        @Override
        protected String getProjectsDirectory() {
            return "src/test/projects/default-maven";
        }
    
        @Test
        void testEnsureResolverSessionHasMavenWorkspaceReader() throws Exception {
            WsrClassCatcher wsrClassCatcher =
                    (WsrClassCatcher) getContainer().lookup(AbstractMavenLifecycleParticipant.class, "WsrClassCatcher");
            Maven maven = getContainer().lookup(Maven.class);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

         * Test: Thread-safe listener management using CopyOnWriteArrayList
         * Verifies that multiple threads can safely add listeners concurrently
         */
        @Test
        public void testThreadSafeListenerManagement() throws Exception {
            final int numThreads = 10;
            final ExecutorService executor = Executors.newFixedThreadPool(numThreads);
            final CountDownLatch latch = new CountDownLatch(numThreads);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/concurrent/CommonPoolUtil.java

                currentThread.setContextClassLoader(CommonPoolUtil.class.getClassLoader());
                try {
                    task.run();
                } catch (final Exception e) {
                    logger.error("Uncaught exception from " + task, e);
                } finally {
                    currentThread.setContextClassLoader(orignal);
                }
            });
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public final class PostForm {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        RequestBody formBody = new FormBody.Builder()
            .add("search", "Jurassic Park")
            .build();
        Request request = new Request.Builder()
            .url("https://en.wikipedia.org/w/index.php")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
Back to top