Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for test_constructor_withNullMessage (2.3 sec)

  1. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            assertTrue(exception.getMessage().contains(cause.getClass().getName()));
            assertTrue(exception.getMessage().contains("Cause exception"));
        }
    
        public void test_constructor_withNullMessage() {
            // Test constructor with null message
            FessSystemException exception = new FessSystemException((String) null);
    
            assertNull(exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
        public void test_constructor_withNullMessage() {
            // Test constructor with null message
            CommandExecutionException exception = new CommandExecutionException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertTrue(exception instanceof FessSystemException);
        }
    
        public void test_constructor_withNullMessage() {
            // Test with null message
            DataStoreException exception = new DataStoreException((String) null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            assertEquals("", exception.getUrl());
            assertEquals(message, exception.getMessage());
            assertFalse(exception.aborted());
        }
    
        public void test_constructor_withNullMessage() {
            // Test with null message
            String url = "http://example.com/test";
            String message = null;
            Exception cause = new RuntimeException("Error cause");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        public void test_constructor_withNullMessage() {
            // Test constructor with null message
            SsoProcessException exception = new SsoProcessException((String) null);
    
            assertNull(exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertNull(exception.getType());
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessage() {
            // Test constructor with null message
            String type = "OAuth2";
            String message = null;
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertNull(exception.getMessageCode());
        }
    
        public void test_constructor_withNullMessage() {
            // Setup
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertNull(exception.getMessageCode());
        }
    
        public void test_constructor_withNullMessage() {
            // Setup
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Throwable);
        }
    
        /**
         * Test constructor with null message
         */
        public void test_constructor_withNullMessage() {
            CrawlerSystemException exception = new CrawlerSystemException((String) null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top