public final class

EnhancedThrowableRenderer

extends Object
implements ThrowableRenderer
java.lang.Object
   ↳ org.apache.log4j.EnhancedThrowableRenderer

Class Overview

Enhanced implementation of ThrowableRenderer. Uses Throwable.getStackTrace if running on JDK 1.4 or later and delegates to DefaultThrowableRenderer.render on earlier virtual machines.

Summary

Public Constructors
EnhancedThrowableRenderer()
Construct new instance.
Public Methods
String[] doRender(Throwable throwable)
Render Throwable.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.log4j.spi.ThrowableRenderer

Public Constructors

public EnhancedThrowableRenderer ()

Construct new instance.

Public Methods

public String[] doRender (Throwable throwable)

Render Throwable.

Parameters
throwable throwable, may not be null.
Returns
  • String representation.