Class Bucket4JAutoConfigFailureAnalyzer
java.lang.Object
org.springframework.boot.diagnostics.AbstractFailureAnalyzer<Bucket4jGeneralException>
com.giffing.bucket4j.spring.boot.starter.failureanalyzer.Bucket4JAutoConfigFailureAnalyzer
- All Implemented Interfaces:
org.springframework.boot.diagnostics.FailureAnalyzer
public class Bucket4JAutoConfigFailureAnalyzer extends org.springframework.boot.diagnostics.AbstractFailureAnalyzer<Bucket4jGeneralException>
The failure analyzer is responsible to provide readable information of exception which
occur on startup. All exception based on the
Bucket4jGeneralException are handled here.-
Field Summary
-
Constructor Summary
Constructors Constructor Description Bucket4JAutoConfigFailureAnalyzer() -
Method Summary
Modifier and Type Method Description protected org.springframework.boot.diagnostics.FailureAnalysisanalyze(Throwable rootFailure, Bucket4jGeneralException cause)Methods inherited from class org.springframework.boot.diagnostics.AbstractFailureAnalyzer
analyze, findCause, getCauseType
-
Field Details
-
NEW_LINE
-
-
Constructor Details
-
Bucket4JAutoConfigFailureAnalyzer
public Bucket4JAutoConfigFailureAnalyzer()
-
-
Method Details
-
analyze
protected org.springframework.boot.diagnostics.FailureAnalysis analyze(Throwable rootFailure, Bucket4jGeneralException cause)- Specified by:
analyzein classorg.springframework.boot.diagnostics.AbstractFailureAnalyzer<Bucket4jGeneralException>
-