Class DefaultThrowableRenderer

    • Method Summary

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

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

      • DefaultThrowableRenderer

        public DefaultThrowableRenderer()
        Construct new instance.
    • Method Detail

      • render

        public static java.lang.String[] render​(java.lang.Throwable throwable)
        Render throwable using Throwable.printStackTrace.
        Parameters:
        throwable - throwable, may not be null.
        Returns:
        string representation.
      • 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.