Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 64 for printStackTrace (0.16 seconds)

  1. 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)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

                }
            } catch (final IOException ioe) {
                if (LogStream.level > 2) {
                    ioe.printStackTrace(log);
                }
                try {
                    disconnect(true);
                } catch (final IOException ioe2) {
                    ioe2.printStackTrace(log);
                }
                throw ioe;
            } catch (final InterruptedException ie) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  3. 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)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                doSend(request);
            } catch (final IOException ioe) {
                if (LogStream.level > 2) {
                    ioe.printStackTrace(log);
                }
                try {
                    disconnect(true);
                } catch (final IOException ioe2) {
                    ioe2.printStackTrace(log);
                }
                throw ioe;
            }
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                if (LogStream.level > 1) {
                    log.println("lmhosts file: " + FILENAME);
                    fnfe.printStackTrace(log);
                }
            } catch (final IOException ioe) {
                if (LogStream.level > 0) {
                    ioe.printStackTrace(log);
                }
            }
            return result;
        }
    
        static void populate(final Reader r) throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            error.printStackTrace(pWriter);
    
            System.out.println("[" + prefix + "] " + sWriter);
        }
    
        private void print(String prefix, CharSequence content, Throwable error) {
            StringWriter sWriter = new StringWriter();
            PrintWriter pWriter = new PrintWriter(sWriter);
    
            error.printStackTrace(pWriter);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/Config.java

                Config.load(in);
                if (in != null) {
                    in.close();
                }
            } catch (final IOException ioe) {
                if (LogStream.level > 0) {
                    ioe.printStackTrace(log);
                }
            }
    
            level = Config.getInt("jcifs.smb1.util.loglevel", -1);
            if (level != -1) {
                LogStream.setLevel(level);
            }
    
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        response.notify();
                    }
                }
            } catch (final SocketTimeoutException ste) {} catch (final Exception ex) {
                if (LogStream.level > 2) {
                    ex.printStackTrace(log);
                }
            } finally {
                tryClose();
            }
        }
    
        void send(final NameServicePacket request, final NameServicePacket response, int timeout) throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

        webSocket.close(1000, null);
        System.out.println("CLOSE: " + code + " " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        t.printStackTrace();
      }
    
      public static void main(String... args) {
        new WebSocketEcho().run();
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Apr 04 11:40:21 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

            .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 {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top