- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for writeThrowable (0.18 sec)
-
maven-slf4j-provider/src/main/java/org/apache/maven/slf4j/MavenSimpleLogger.java
} for (Throwable se : t.getSuppressed()) { writeThrowable(se, stream, "Suppressed", prefix + " "); } Throwable cause = t.getCause(); if (cause != null && t != cause) { writeThrowable(cause, stream, "Caused by", prefix); } } private void writeThrowable(Throwable t, PrintStream stream, String caption, String prefix) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 4.9K bytes - Viewed (0) -
maven-slf4j-provider/src/test/java/org/apache/maven/slf4j/MavenSimpleLoggerTest.java
cause.addSuppressed(suppressed); Exception throwable = new RuntimeException("top-level", cause); ByteArrayOutputStream output = new ByteArrayOutputStream(); new MavenSimpleLogger("logger").writeThrowable(throwable, new PrintStream(output)); String actual = output.toString(UTF_8.name()); List<String> actualLines = Arrays.asList(actual.split(System.lineSeparator()));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:59 UTC 2024 - 4K bytes - Viewed (0)