- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for printStackTrace (0.09 seconds)
-
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
java.io.PrintStream ps = new java.io.PrintStream(baos); exception.printStackTrace(ps); String output = baos.toString(); assertNotNull(output); assertTrue(output.contains("DictionaryExpiredException")); } catch (Exception e) { fail("printStackTrace should not throw exception"); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
StringBuilder buf = new StringBuilder(); // Create an exception that might cause issues during processing Exception exception = new Exception() { @Override public void printStackTrace(java.io.PrintWriter writer) { // Simulate a normal stack trace output writer.println("Special test exception"); writer.flush(); } };
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
README.md
.body("{\"name\":\"item1\"}") .header("Content-Type", "application/json") .execute( response -> System.out.println("Async status: " + response.getHttpStatusCode()), error -> error.printStackTrace()); ``` ## API Overview - `org.codelibs.curl.Curl`: entry point for HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE). - `org.codelibs.curl.CurlRequest`: builder for HTTP requests.
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/LogNotificationAppender.java
} String throwableStr = null; final Throwable thrown = event.getThrown(); if (thrown != null) { final StringWriter sw = new StringWriter(); thrown.printStackTrace(new PrintWriter(sw)); throwableStr = sw.toString(); if (throwableStr.length() > MAX_THROWABLE_LENGTH) { throwableStr = throwableStr.substring(0, MAX_THROWABLE_LENGTH); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 6K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
delete(*filesToCleanUp.toTypedArray()) } } catch (e: Exception) { // https://github.com/gradle/gradle-private/issues/2983#issuecomment-596083202 e.printStackTrace() } } private fun TestFilesCleanupProjectState.prepareReportForCiPublishing(reports: List<File>) { val projectPathName = projectPath.replace(':', '-')
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 10 15:37:54 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* wrapping it in an AssertionFailedError if necessary. */ final void threadUnexpectedException(Throwable t) { threadRecordFailure(t); t.printStackTrace(); if (t instanceof RuntimeException) { throw (RuntimeException) t; } else if (t instanceof Error) { throw (Error) t; } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* wrapping it in an AssertionFailedError if necessary. */ final void threadUnexpectedException(Throwable t) { threadRecordFailure(t); t.printStackTrace(); if (t instanceof RuntimeException) { throw (RuntimeException) t; } else if (t instanceof Error) { throw (Error) t; } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
} @Override public void finalizeReferent() { references.remove(this); try { state.reset(); } catch (Throwable t) { t.printStackTrace(System.err); } } } private static final class FbosByteSource extends ByteSource { final State state; FbosByteSource(State state) { this.state = state; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
docs/recipes.md
.url("http://publicobject.com/helloworld.txt") .build() client.newCall(request).enqueue(object : Callback { override fun onFailure(call: Call, e: IOException) { e.printStackTrace() } override fun onResponse(call: Call, response: Response) { response.use { if (!response.isSuccessful) throw IOException("Unexpected code $response")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0)