Interface ThrowableCauseExtractor
-
public interface ThrowableCauseExtractorInterface for handlers extracting the cause out of a specificThrowabletype.- Since:
- 2.0
- See Also:
ThrowableAnalyzer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ThrowableextractCause(java.lang.Throwable throwable)Extracts the cause from the providedThrowable.
-
-
-
Method Detail
-
extractCause
java.lang.Throwable extractCause(java.lang.Throwable throwable)
Extracts the cause from the providedThrowable.- Parameters:
throwable- theThrowable- Returns:
- the extracted cause (maybe
null) - Throws:
java.lang.IllegalArgumentException- ifthrowableisnullor otherwise considered invalid for the implementation
-
-