Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for test_getCause (0.2 seconds)

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

            assertEquals("org.apache.lucene.queryparser.classic.ParseException: " + errorMessage, queryParseException.getMessage());
        }
    
        @Test
        public void test_getCause() {
            // Test that the cause is properly set and retrievable
            ParseException parseException = new ParseException("Query parsing failed");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNull(exception.getMessage());
        }
    
        @Test
        public void test_getCause() {
            // Test that getCause returns null (no cause set in constructor)
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNull(exception.getCause());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            String message = longMessage.toString();
    
            SsoLoginException exception = new SsoLoginException(message);
            assertEquals(message, exception.getMessage());
        }
    
        @Test
        public void test_getCause() {
            // Test getCause() method explicitly
            Exception cause = new IllegalArgumentException("Invalid SSO token");
            SsoLoginException exception = new SsoLoginException("SSO error", cause);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

            assertThat(ex.getArgs()[0], is((Object) "hoge"));
            System.out.println(ex.getMessage());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
            final Throwable t = new NullPointerException("test");
            final ClRuntimeException ex = new ClRuntimeException("ECL0017", asArray(t), t);
            assertThat(ex.getCause(), is(t));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top