org.apache.log4j.spi
Class ThrowableInformation
- Serializable
public class ThrowableInformation
ThrowableInformation is log4j's internal representation of
throwables. It essentially consists of a string array, called
'rep', where the first element, that is rep[0], represents the
string representation of the throwable (i.e. the value you get
when you do throwable.toString()) and subsequent elements
correspond the stack trace with the top most entry of the stack
corresponding to the second entry of the 'rep' array that is
rep[1].
ThrowableInformation
public ThrowableInformation(Throwable throwable)
getThrowable
public Throwable getThrowable()
getThrowableStrRep
public String[] getThrowableStrRep()
Copyright 2000-2005 Apache Software Foundation.