public final class DefaultThrowableRenderer extends Object implements ThrowableRenderer
ThrowableRenderer
using Throwable.printStackTrace(PrintWriter)
.Constructor and Description |
---|
DefaultThrowableRenderer()
Construct new instance.
|
Modifier and Type | Method and Description |
---|---|
String[] |
doRender(Throwable throwable)
Render Throwable.
|
static String[] |
render(Throwable throwable)
Render throwable using Throwable.printStackTrace.
|
public DefaultThrowableRenderer()
public static String[] render(Throwable throwable)
throwable
- throwable, may not be null.public String[] doRender(Throwable throwable)
doRender
in interface ThrowableRenderer
throwable
- throwable, may not be null.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.