Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for ServletException (0.44 seconds)

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

            // Create a ServletException without a message
            ServletException servletException = new ServletException();
    
            // Wrap it in ServletRuntimeException
            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
            // Verify that the cause is correctly set
            assertNotNull(runtimeException);
            assertEquals(servletException, runtimeException.getCause());
    
    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)
  2. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

        }
    
        /**
         * Initializes the web API filter.
         *
         * @param filterConfig The filter configuration
         * @throws ServletException If initialization fails
         */
        @Override
        public void init(final FilterConfig filterConfig) throws ServletException {
            // nothing
        }
    
        /**
         * Destroys the web API filter and cleans up resources.
         */
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    import jakarta.servlet.FilterChain;
    import jakarta.servlet.ServletException;
    import jakarta.servlet.ServletRequest;
    import jakarta.servlet.ServletResponse;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    import jakarta.servlet.FilterChain;
    import jakarta.servlet.ServletException;
    import jakarta.servlet.ServletRequest;
    import jakarta.servlet.ServletResponse;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            try {
                manager.process(request, response, chain);
                fail("Expected ServletException");
            } catch (ServletException e) {
                assertEquals("Test error", e.getMessage());
            }
        }
    
        @Test
        public void test_process_withNullParameters() throws IOException, ServletException {
            // Test null parameter handling
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            public boolean authenticate(HttpServletResponse response) throws IOException, ServletException {
                return false;
            }
    
            @Override
            public void login(String username, String password) throws ServletException {
            }
    
            @Override
            public void logout() throws ServletException {
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

            // Execute and expect ServletException
            try {
                webApiFilter.doFilter(request, response, chain);
                fail("Expected ServletException");
            } catch (IOException e) {
                fail("Unexpected IOException: " + e.getMessage());
            } catch (ServletException e) {
                assertEquals("Test ServletException", e.getMessage());
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/exception/ServletRuntimeException.java

     */
    package org.codelibs.fess.exception;
    
    import jakarta.servlet.ServletException;
    
    /**
     * Runtime exception wrapper for ServletException.
     *
     * This exception is used to wrap checked ServletExceptions and convert them
     * into unchecked RuntimeExceptions, allowing them to be thrown from methods
     * that don't declare ServletException in their throws clause.
     */
    public class ServletRuntimeException extends RuntimeException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/http/NetworkExplorerTest.java

            networkExplorer = new NetworkExplorer() {
                @Override
                public void init(ServletConfig config) throws ServletException {
                    try {
                        setFieldsViaReflection(this, false, "jCIFS");
                    } catch (Exception e) {
                        throw new ServletException(e);
                    }
                }
    
                @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/http/NtlmHttpFilterTest.java

                        throws IOException, ServletException {
                    if (skipAuthentication) {
                        return null;
                    }
                    return super.negotiate(req, resp, skipAuthentication);
                }
    
                @Override
                public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top