Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getApiJsonResponseExceptionIncluded (0.92 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

                private static final long serialVersionUID = 1L;
    
                @Override
                public String getApiJsonResponseExceptionIncluded() {
                    return "false";
                }
            });
    
            FessConfig config = ComponentUtil.getFessConfig();
            assertEquals("false", config.getApiJsonResponseExceptionIncluded());
        }
    
        // Test error code generation
        public void test_errorCodeGeneration() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

                } catch (final IOException ignore) {}
                return sb.toString();
            };
    
            if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
                return stacktraceString.get();
            }
    
            final String errorCode = UUID.randomUUID().toString();
            if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                });
            } catch (final WebApiException e) {
                String message;
                if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
                    logger.warn("Failed to access to Web API.", e);
                    message = e.getMessage();
                } else {
                    final String errorCode = UUID.randomUUID().toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                } catch (final IOException ignore) {}
                return buf.toString();
            };
            final String message;
            if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
                message = escapeJsonKeyValue(MESSAGE_FIELD, stacktraceString.get());
            } else {
                final String errorCode = UUID.randomUUID().toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * comment: Whether to include exceptions in API JSON response.
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getApiJsonResponseExceptionIncluded();
    
        /**
         * Is the property for the key 'api.json.response.exception.included' true? <br>
         * The value is, e.g. false <br>
         * comment: Whether to include exceptions in API JSON response.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 525.6K bytes
    - Viewed (1)
Back to top