Class ThrowableProxyUtil


  • public class ThrowableProxyUtil
    extends Object
    Convert a throwable into an array of ThrowableDataPoint objects.
    • Field Detail

      • REGULAR_EXCEPTION_INDENT

        public static final int REGULAR_EXCEPTION_INDENT
        See Also:
        Constant Field Values
      • SUPPRESSED_EXCEPTION_INDENT

        public static final int SUPPRESSED_EXCEPTION_INDENT
        See Also:
        Constant Field Values
    • Constructor Detail

      • ThrowableProxyUtil

        public ThrowableProxyUtil()
    • Method Detail

      • indent

        public static void indent​(StringBuilder buf,
                                  int indent)
      • subjoinSTEPArray

        public static void subjoinSTEPArray​(StringBuilder sb,
                                            IThrowableProxy tp)
        Deprecated.
        Use subjoinSTEPArray(StringBuilder sb, int indentLevel, IThrowableProxy tp) instead.
        Parameters:
        sb - The StringBuilder the STEPs are appended to.
        tp - the IThrowableProxy containing the STEPs.
      • subjoinSTEPArray

        public static void subjoinSTEPArray​(StringBuilder sb,
                                            int indentLevel,
                                            IThrowableProxy tp)
        Parameters:
        sb - The StringBuilder the STEPs are appended to.
        indentLevel - indentation level used for the STEPs, usually REGULAR_EXCEPTION_INDENT.
        tp - the IThrowableProxy containing the STEPs.