Class EnhancedThrowableRenderer

  • All Implemented Interfaces:
    ThrowableRenderer

    public final class EnhancedThrowableRenderer
    extends java.lang.Object
    implements ThrowableRenderer
    Enhanced implementation of ThrowableRenderer. Uses Throwable.getStackTrace if running on JDK 1.4 or later and delegates to DefaultThrowableRenderer.render on earlier virtual machines.
    Since:
    1.2.16
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] doRender​(java.lang.Throwable throwable)
      Render Throwable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnhancedThrowableRenderer

        public EnhancedThrowableRenderer()
        Construct new instance.
    • Method Detail

      • doRender

        public java.lang.String[] doRender​(java.lang.Throwable throwable)
        Render Throwable.
        Specified by:
        doRender in interface ThrowableRenderer
        Parameters:
        throwable - throwable, may not be null.
        Returns:
        String representation.