Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,174 for Exception (0.05 sec)

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

            SearchQueryException exception1 = new SearchQueryException("Exception 1");
            SearchQueryException exception2 = new SearchQueryException("Exception 2", new Exception("Cause 2"));
            SearchQueryException exception3 = new SearchQueryException(new Exception("Cause 3"));
    
            assertNotSame(exception1, exception2);
            assertNotSame(exception2, exception3);
            assertNotSame(exception1, exception3);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialVersionUID() {
            // Test that the exception has a serialVersionUID field
            FessUserNotFoundException exception1 = new FessUserNotFoundException("user1");
            FessUserNotFoundException exception2 = new FessUserNotFoundException("user2");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            String message = "Session expired";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_throwAndCatch() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. docs/en/docs/reference/exceptions.md

    # Exceptions - `HTTPException` and `WebSocketException`
    
    These are the exceptions that you can raise to show errors to the client.
    
    When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client.
    
    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 597 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            UserRoleLoginException exception1 = new UserRoleLoginException(RootAction.class);
            UserRoleLoginException exception2 = new UserRoleLoginException(RootAction.class);
    
            assertNotSame(exception1, exception2);
            assertEquals(exception1.getActionClass(), exception2.getActionClass());
            assertSame(RootAction.class, exception1.getActionClass());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            // Test that different instances are not equal
            DictionaryExpiredException exception1 = new DictionaryExpiredException();
            DictionaryExpiredException exception2 = new DictionaryExpiredException();
    
            assertNotSame(exception1, exception2);
            assertFalse(exception1.equals(exception2));
            assertTrue(exception1.equals(exception1));
        }
    
        public void test_hashCode() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            CommandExecutionException exception = new CommandExecutionException(message, cause);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertEquals("Invalid state", exception.getCause().getMessage());
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            TestFessSystemException exception = new TestFessSystemException(message, true, true);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    
            // Test that suppression is enabled
            RuntimeException suppressed = new RuntimeException("Suppressed exception");
            exception.addSuppressed(suppressed);
            assertEquals(1, exception.getSuppressed().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * exception. But there's another race: If the first thread fails with an exception and a second
         * thread immediately fails with the same exception:
         *
         * Thread1: calls setException(), which returns true, context switch before it can CAS
         * seenExceptionsField to its exception
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            LdapOperationException exception = new LdapOperationException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialVersionUID() {
            // Test that exception is serializable
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top