ch.qos.logback.classic.spi
Class ThrowableProxyUtil

java.lang.Object
  extended by ch.qos.logback.classic.spi.ThrowableProxyUtil

public class ThrowableProxyUtil
extends Object

Convert a throwable into an array of ThrowableDataPoint objects.

Author:
Ceki Gülcü

Constructor Summary
ThrowableProxyUtil()
           
 
Method Summary
static String asString(IThrowableProxy tp)
           
static void build(ThrowableProxy nestedTP, Throwable nestedThrowable, ThrowableProxy parentTP)
           
static void subjoinFirstLine(StringBuilder buf, IThrowableProxy tp)
           
static void subjoinFirstLineRootCauseFirst(StringBuilder buf, IThrowableProxy tp)
           
static void subjoinPackagingData(StringBuilder builder, StackTraceElementProxy step)
           
static void subjoinSTEP(StringBuilder sb, StackTraceElementProxy step)
           
static void subjoinSTEPArray(StringBuilder sb, IThrowableProxy tp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowableProxyUtil

public ThrowableProxyUtil()
Method Detail

build

public static void build(ThrowableProxy nestedTP,
                         Throwable nestedThrowable,
                         ThrowableProxy parentTP)

asString

public static String asString(IThrowableProxy tp)

subjoinPackagingData

public static void subjoinPackagingData(StringBuilder builder,
                                        StackTraceElementProxy step)

subjoinSTEP

public static void subjoinSTEP(StringBuilder sb,
                               StackTraceElementProxy step)

subjoinSTEPArray

public static void subjoinSTEPArray(StringBuilder sb,
                                    IThrowableProxy tp)

subjoinFirstLine

public static void subjoinFirstLine(StringBuilder buf,
                                    IThrowableProxy tp)

subjoinFirstLineRootCauseFirst

public static void subjoinFirstLineRootCauseFirst(StringBuilder buf,
                                                  IThrowableProxy tp)


Copyright © 2005-2011 QOS.ch. All Rights Reserved.