- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for appendException (0.14 sec)
-
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) -
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) -
src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
* * @param buf the string buffer to append to * @param exception the exception to append * @return the updated buffer */ protected StringBuilder appendException(final StringBuilder buf, final Exception exception) { try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.8K bytes - Viewed (0)