Class FailureAnalysis
java.lang.Object
org.springframework.boot.diagnostics.FailureAnalysis
The result of analyzing a failure.
- Since:
- 1.4.0
- Author:
- Andy Wilkinson
- 
Constructor SummaryConstructorsConstructorDescriptionFailureAnalysis(String description, String action, Throwable cause) Creates a newFailureAnalysiswith the givendescriptionandaction, if any, that the user should take to address the problem.
- 
Method Summary
- 
Constructor Details- 
FailureAnalysisCreates a newFailureAnalysiswith the givendescriptionandaction, if any, that the user should take to address the problem. The failure had the given underlyingcause.- Parameters:
- description- the description
- action- the action
- cause- the cause
 
 
- 
- 
Method Details- 
getDescriptionReturns a description of the failure.- Returns:
- the description
 
- 
getActionReturns the action, if any, to be taken to address the failure.- Returns:
- the action or null
 
- 
getCauseReturns the cause of the failure.- Returns:
- the cause
 
 
-