public class ErrorPrinter extends Object
String.ErrorPrinterFormatter| Modifier and Type | Method and Description |
|---|---|
static String |
getStackTraces(Throwable T)
Gets the entire exception report as a
String. |
static String |
getStackTraces(Throwable thrown,
Object[] extraInfo)
Gets the entire exception report as a
String. |
static void |
printStackTraces(Throwable T) |
static void |
printStackTraces(Throwable T,
Appendable out) |
static void |
printStackTraces(Throwable thrown,
Appendable out,
Object[] extraInfo)
Prints a detailed error report, including all stack traces, to the provided out.
|
static void |
printStackTraces(Throwable T,
Object[] extraInfo) |
public static void printStackTraces(Throwable T)
public static void printStackTraces(Throwable T, Appendable out)
public static void printStackTraces(Throwable thrown, Appendable out, Object[] extraInfo)
Flushable, will flush the output.T - out - extraInfo - public static String getStackTraces(Throwable T)
String. This is not
as efficient as directly writing the report due to the extra buffering.Copyright © 2016. All rights reserved.