Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for webApiException (0.78 sec)

  1. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    }
                    processRequest(request, response, path);
                }).orElse(() -> {
                    throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid session.");
                });
            } catch (final WebApiException e) {
                String message;
                if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // Note: WebApiException constructor calls e.getMessage() on null exception, causing NullPointerException
            try {
                WebApiUtil.setError(500, (Exception) null);
                fail("setError should throw NullPointerException when passed null exception");
            } catch (NullPointerException e) {
                // Expected - WebApiException constructor cannot handle null exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top