Package com.atlassian.confluence.util
Class PatternLayoutWithStackTrace
- java.lang.Object
-
- org.apache.log4j.Layout
-
- org.apache.log4j.PatternLayout
-
- com.atlassian.confluence.util.PatternLayoutWithStackTrace
-
- All Implemented Interfaces:
org.apache.log4j.spi.OptionHandler
- Direct Known Subclasses:
PatternLayoutWithContext
@Deprecated public class PatternLayoutWithStackTrace extends org.apache.log4j.PatternLayout
Deprecated.since 7.14 UseConfluencePatternLayoutPattern layout with specialist stack trace printing
-
-
Constructor Summary
Constructors Constructor Description PatternLayoutWithStackTrace()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidappendStackTrace(StringBuffer buffer, Throwable t)Deprecated.since 7.14 useConfluenceStackTraceRenderer.renderStackTrace(Throwable)Stringformat(org.apache.log4j.spi.LoggingEvent loggingEvent)Deprecated.static ThrowablegetNonCauseUnderlying(Throwable t)Deprecated.booleanignoresThrowable()Deprecated.
-
-
-
Method Detail
-
ignoresThrowable
public boolean ignoresThrowable()
Deprecated.- Overrides:
ignoresThrowablein classorg.apache.log4j.PatternLayout
-
format
public String format(org.apache.log4j.spi.LoggingEvent loggingEvent)
Deprecated.- Overrides:
formatin classorg.apache.log4j.PatternLayout
-
appendStackTrace
@Deprecated public static void appendStackTrace(StringBuffer buffer, Throwable t)
Deprecated.since 7.14 useConfluenceStackTraceRenderer.renderStackTrace(Throwable)
-
getNonCauseUnderlying
@Deprecated public static Throwable getNonCauseUnderlying(Throwable t)
Deprecated.Find the first underlying exception of t which you *can't* get by simply calling getCause() n times.- Parameters:
t-- Returns:
- the underl;ying exception, or null if there isn't one.
-
-