Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for caught (3.38 sec)

  1. src/test/java/jcifs/util/PathValidatorTest.java

            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\\\..\\share");
            });
    
            // Test invalid characters in paths - caught by null byte check
            assertThrows(SmbException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

        void testCatchBlockBehavior() {
            // Test that RuntimeCIFSException can be caught as RuntimeException
            assertThrows(RuntimeException.class, () -> {
                throw new RuntimeCIFSException("Test exception");
            });
    
            // Test that it can be caught specifically
            assertThrows(RuntimeCIFSException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

                }
            } catch (final Exception ignored) {}
        }
    
        protected void handleFileUploadException(final FileUploadException e) throws ServletException {
            // suppress logging because it can be caught by logging filter
            //log.error("Failed to parse multipart request", e);
            throw new ServletException("Failed to upload the file.", e);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                return running;
            }
    
            /**
             * Waits for the crawling thread to terminate.
             * This method blocks until the thread completes its execution.
             * Interrupted exceptions are caught and logged at debug level.
             */
            public void awaitTermination() {
                try {
                    join();
                } catch (final InterruptedException e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

                return null;
            }
            if (list.size() >= 2) {
                String msg = "The size of selected list is over 1: " + list.size();
                throw new FetchingOverSafetySizeException(msg, 1); // immediately caught by caller and translated
            }
            return list.get(0);
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

                return null;
            }
            if (list.size() >= 2) {
                String msg = "The size of selected list is over 1: " + list.size();
                throw new FetchingOverSafetySizeException(msg, 1); // immediately caught by caller and translated
            }
            return list.get(0);
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

                return null;
            }
            if (list.size() >= 2) {
                String msg = "The size of selected list is over 1: " + list.size();
                throw new FetchingOverSafetySizeException(msg, 1); // immediately caught by caller and translated
            }
            return list.get(0);
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        }
    
        /**
         * Sets the uncaught exception handler for this IndexUpdater thread.
         *
         * @param eh the uncaught exception handler to set
         */
        @Override
        public void setUncaughtExceptionHandler(final UncaughtExceptionHandler eh) {
            super.setUncaughtExceptionHandler(eh);
        }
    
        /**
         * Sets the default uncaught exception handler for all threads.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    }
                }
            } catch (final SocketTimeoutException ste) {
                log.trace("Socket timeout", ste);
            } catch (final Exception ex) {
                log.warn("Uncaught exception in NameServiceClient", ex);
            } finally {
                tryClose();
            }
        }
    
        void send(final NameServicePacket request, final NameServicePacket response, int timeout) throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
Back to top