- java.lang.Object
-
- ch.qos.logback.classic.spi.ThrowableProxy
-
- All Implemented Interfaces:
IThrowableProxy
public class ThrowableProxy extends Object implements IThrowableProxy
-
-
Constructor Summary
Constructors Constructor Description ThrowableProxy(Throwable throwable)ThrowableProxy(Throwable throwable, Set<Throwable> alreadyProcessedSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcalculatePackagingData()voidfullDump()IThrowableProxygetCause()StringgetClassName()intgetCommonFrames()StringgetMessage()StringgetOverridingMessage()Return the overriding message if any.PackagingDataCalculatorgetPackagingDataCalculator()StackTraceElementProxy[]getStackTraceElementProxyArray()IThrowableProxy[]getSuppressed()ThrowablegetThrowable()booleanisCyclic()Is this instance the result of a cyclic exception?
-
-
-
Constructor Detail
-
ThrowableProxy
public ThrowableProxy(Throwable throwable)
-
ThrowableProxy
public ThrowableProxy(Throwable throwable, Set<Throwable> alreadyProcessedSet)
-
-
Method Detail
-
getThrowable
public Throwable getThrowable()
-
getMessage
public String getMessage()
- Specified by:
getMessagein interfaceIThrowableProxy
-
getOverridingMessage
public String getOverridingMessage()
Description copied from interface:IThrowableProxyReturn the overriding message if any. This method returns null if there is no overriding message.Overriding message exists only if the original throwable implementation overrides the toString() method.
- Specified by:
getOverridingMessagein interfaceIThrowableProxy- Returns:
- the overriding message or null
-
getClassName
public String getClassName()
- Specified by:
getClassNamein interfaceIThrowableProxy
-
getStackTraceElementProxyArray
public StackTraceElementProxy[] getStackTraceElementProxyArray()
- Specified by:
getStackTraceElementProxyArrayin interfaceIThrowableProxy
-
isCyclic
public boolean isCyclic()
Description copied from interface:IThrowableProxyIs this instance the result of a cyclic exception?- Specified by:
isCyclicin interfaceIThrowableProxy- Returns:
- true if cyclic, false otherwise
-
getCommonFrames
public int getCommonFrames()
- Specified by:
getCommonFramesin interfaceIThrowableProxy
-
getCause
public IThrowableProxy getCause()
- Specified by:
getCausein interfaceIThrowableProxy
-
getSuppressed
public IThrowableProxy[] getSuppressed()
- Specified by:
getSuppressedin interfaceIThrowableProxy
-
getPackagingDataCalculator
public PackagingDataCalculator getPackagingDataCalculator()
-
calculatePackagingData
public void calculatePackagingData()
-
fullDump
public void fullDump()
-
-