- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for ServletException (0.07 sec)
-
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
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());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.8K bytes - Viewed (0) -
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
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
import org.codelibs.fess.cors.CorsHandlerFactory; import org.codelibs.fess.unit.UnitFessTestCase; import org.codelibs.fess.util.ComponentUtil; 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;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
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()); } } public void test_process_withNullParameters() throws IOException, ServletException { // Test null parameter handling TestWebApiManager manager = new TestWebApiManager("/api");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0) -
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
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0) -
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()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
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 {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.4K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
@Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { // Do nothing - just for testing } @Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { // Do nothing - just for testing } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
* * @param config the filter configuration containing initialization parameters * @throws ServletException if an error occurs during initialization */ @Override public void init(final FilterConfig config) throws ServletException { servletContext = config.getServletContext(); encoding = config.getInitParameter(LastaPrepareFilter.ENCODING_KEY);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0)