Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for printStackTrace (0.13 seconds)

  1. 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.get().replace(':', '-')
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 11:43:49 GMT 2025
    - 12.5K bytes
    - Click Count (1)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                                .error("Error: " + e.getMessage())
                                .build());
                        if (context.options().showErrors().orElse(false)) {
                            e.printStackTrace(context.terminal.writer());
                        }
                        return ERROR;
                    }
                }
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                    System.err.println("Missing: " + artifact);
                }
            }
    
            if (result.hasExceptions()) {
                for (Exception e : result.getExceptions()) {
                    e.printStackTrace();
                }
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 10:49:22 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. 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);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. 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;
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * wrapping it in an AssertionFailedError if necessary.
       */
      public void threadUnexpectedException(Throwable t) {
        threadRecordFailure(t);
        t.printStackTrace();
        if (t instanceof RuntimeException) throw (RuntimeException) t;
        else if (t instanceof Error) throw (Error) t;
        else {
          AssertionFailedError afe = new AssertionFailedError("unexpected exception: " + t);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 37.8K bytes
    - Click Count (0)
Back to Top