Package org.apache.log4j.spi
Class ThrowableInformation
java.lang.Object
org.apache.log4j.spi.ThrowableInformation
- All Implemented Interfaces:
Serializable
Log4j's internal representation of throwables.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs new instance.ThrowableInformation
(Throwable throwable) Constructs new instance.ThrowableInformation
(Throwable throwable, Category category) Constructs a new instance. -
Method Summary
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
throwable
-
category
-
rep
-
TO_STRING_LIST
-
-
Constructor Details
-
ThrowableInformation
Constructs new instance.- Parameters:
r
- String representation of throwable.- Since:
- 1.2.15
-
ThrowableInformation
Constructs new instance. -
ThrowableInformation
Constructs a new instance.- Parameters:
throwable
- throwable, may not be null.category
- category used to obtain ThrowableRenderer, may be null.- Since:
- 1.2.16
-
-
Method Details
-
getThrowable
-
getThrowableStrRep
-