Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
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 © 2000–2016 AO Industries, Inc.. All rights reserved.