Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for printStackTrace (0.15 sec)

  1. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                    String line;
                    while ((line = reader.readLine()) != null) {
                        ps.println(line);
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                } finally {
                    latch.countDown();
                }
            }).start();
            return os;
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpFilter.java

        /**
         * @param f
         */
        public void setFilterConfig ( FilterConfig f ) {
            try {
                init(f);
            }
            catch ( Exception e ) {
                e.printStackTrace();
            }
        }
    
    
        /**
         * @return filter config
         */
        public FilterConfig getFilterConfig () {
            return null;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                        dependencies = Dependency.dependencyToApiV3(model.getDependencies());
                    } catch (IOException e) {
                        e.printStackTrace();
                    }
                }
    
                for (Dependency dependency : dependencies) {
                    Artifact artifact = createDependencyArtifact(dependency);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

                    if (dot == -1)
                        break;
                    name = name.substring(dot + 1);
                }
            } catch (NamingException ne) {
                if (log.level > 1)
                    ne.printStackTrace(log);
            }
    
            throw uhe != null ? uhe : new UnknownHostException("invalid name");
        }
         */
    
    
        Object addr;
        String calledName;
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                    SmbTransport.log.println( "Failed validate DC: " + dc_list[i] );
                                    if (SmbTransport.log.level > 2)
                                        se.printStackTrace( SmbTransport.log );
                                }
                            }
                            dc_list[i] = null;
                        }
                    }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  6. 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")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Throwables.java

       */
      @GwtIncompatible // java.io.PrintWriter, java.io.StringWriter
      public static String getStackTraceAsString(Throwable throwable) {
        StringWriter stringWriter = new StringWriter();
        throwable.printStackTrace(new PrintWriter(stringWriter));
        return stringWriter.toString();
      }
    
      /**
       * Returns the stack trace of {@code throwable}, possibly providing slower iteration over the full
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                } else {
                    buf.append(t.getMessage());
                }
                try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) {
                    t.printStackTrace(pw);
                    pw.flush();
                    buf.append(" [ ").append(sw.toString()).append(" ]");
                } catch (final IOException ignore) {}
                return buf.toString();
            };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/StringUtil.java

                newStringUnsafeMethod = javaLangAccessClass.getMethod("newStringUnsafe", char[].class);
            } catch (final Throwable t) {
                // ignore
                // t.printStackTrace();
            }
        }
    
        /**
         * 文字列が<code>null</code>または空文字列なら<code>true</code>を返します。
         *
         * @param text
         *            文字列
         * @return 文字列が<code>null</code>または空文字列なら<code>true</code>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

                numObInputDoc.set(response.getNumberOfInputDocs());
                latch.countDown();
            }).error(t -> {
                t.printStackTrace();
                latch.countDown();
                fail();
            });
            latch.await();
            assertEquals(num, numObInputDoc.get());
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top