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 void appendPackagingData(StringBuilder builder, StackTraceElementProxy step)
           
static String asString(IThrowableProxy tp)
           
static void build(ThrowableProxy nestedTP, Throwable nestedThrowable, ThrowableProxy parentTP)
           
static void printFirstLine(StringBuilder buf, IThrowableProxy tp)
           
static void printSTEP(StringBuilder sb, StackTraceElementProxy step)
           
static void printSTEPArray(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)

appendPackagingData

public static void appendPackagingData(StringBuilder builder,
                                       StackTraceElementProxy step)

printSTEP

public static void printSTEP(StringBuilder sb,
                             StackTraceElementProxy step)

printSTEPArray

public static void printSTEPArray(StringBuilder sb,
                                  IThrowableProxy tp)

printFirstLine

public static void printFirstLine(StringBuilder buf,
                                  IThrowableProxy tp)


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