Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 96 for throwable (0.05 seconds)

  1. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

                return null;
            }
    
            @Override
            public void log(String msg) {
            }
    
            @Override
            public void log(String message, Throwable throwable) {
            }
    
            @Override
            public String getServerInfo() {
                return null;
            }
    
            @Override
            public String getInitParameter(String name) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is properly set
            DictionaryException exception = new DictionaryException("Stack trace test");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            try {
                downloadFileFromURL(url, outputFile);
                System.out.println("Done");
                System.exit(0);
            } catch (Throwable e) {
                System.out.println("- Error downloading");
                e.printStackTrace();
                System.exit(1);
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            }
        }
    
        @Test
        public void test_indexFromDocuments() {
            Consumer<Boolean> successCallback = (success) -> {
                assertTrue(success);
            };
            Consumer<Throwable> errorCallback = (error) -> {
                assertNotNull(error);
            };
    
            try {
                suggestHelper.indexFromDocuments(successCallback, errorCallback);
                assertTrue(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTraceWithCause() {
            // Test that stack trace is properly preserved with cause
            String innerMessage = "Inner exception";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is generated properly
            LdapConfigurationException exception = new LdapConfigurationException("Stack trace test");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

                fail("Should have thrown an exception for unregistered class");
            } catch (Exception e) {
                // Find the root cause - it should be related to unregistered class
                Throwable rootCause = e;
                while (rootCause.getCause() != null && rootCause.getCause() != rootCause) {
                    rootCause = rootCause.getCause();
                }
                String message = rootCause.getMessage();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                testTarget.expired();
    
                // If we get here, the method executed successfully
                assertTrue("expired method executed successfully", true);
            } catch (Throwable t) {
                // In test environments, system monitoring may fail due to missing dependencies
                // or restricted access to system resources. This is acceptable.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that the exception has a serialVersionUID field
            FessUserNotFoundException exception1 = new FessUserNotFoundException("user1");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            // Verify it's an instance of RuntimeException
            assertTrue(runtimeException instanceof RuntimeException);
            assertTrue(runtimeException instanceof Exception);
            assertTrue(runtimeException instanceof Throwable);
        }
    
        @Test
        public void test_stackTrace() {
            // Create a ServletException with a specific message
            String errorMessage = "Stack trace test error";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
Back to Top