Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for appendException (0.91 sec)

  1. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            assertTrue(result.length() > "\"timestamp\":\"\"".length());
        }
    
        // Test appendException method with simple exception
        public void test_appendException_simpleException() {
            StringBuilder buf = new StringBuilder();
            Exception exception = new RuntimeException("Test error message");
    
            monitorTarget.appendException(buf, exception);
            assertTrue(buf.toString().startsWith("\"exception\":\""));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                    break;
                case "appendException":
                    appendExceptionMethod = method;
                    break;
                }
            }
    
            assertNotNull("Should inherit append method", appendMethod);
            assertNotNull("Should inherit appendTimestamp method", appendTimestampMethod);
            assertNotNull("Should inherit appendException method", appendExceptionMethod);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                    return tempBuf.toString();
                }).collect(Collectors.joining(","));
                buf.append(hotThreads).append(',');
            } catch (final Exception e) {
                appendException(buf, e).append(',');
            }
    
            appendTimestamp(buf);
            buf.append('}');
    
            if (logger.isInfoEnabled()) {
                logger.info(buf.toString());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top