public class FailureAnalysis
extends java.lang.Object
Constructor and Description |
---|
FailureAnalysis(java.lang.String description,
java.lang.String action,
java.lang.Throwable cause)
Creates a new
FailureAnalysis with the given description and
action , if any, that the user should take to address the problem. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Returns the action, if any, to be taken to address the failure.
|
java.lang.Throwable |
getCause()
Returns the cause of the failure.
|
java.lang.String |
getDescription()
Returns a description of the failure.
|
public FailureAnalysis(java.lang.String description, java.lang.String action, java.lang.Throwable cause)
FailureAnalysis
with the given description
and
action
, if any, that the user should take to address the problem. The
failure had the given underlying cause
.description
- the descriptionaction
- the actioncause
- the causepublic java.lang.String getDescription()
public java.lang.String getAction()
null
public java.lang.Throwable getCause()