public class FailureAnalysis extends Object
Constructor and Description |
---|
FailureAnalysis(String description,
String action,
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 |
---|---|
String |
getAction()
Returns the action, if any, to be taken to address the failure.
|
Throwable |
getCause()
Returns the cause of the failure.
|
String |
getDescription()
Returns a description of the failure.
|
public FailureAnalysis(String description, String action, 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 String getDescription()
public String getAction()
null
public Throwable getCause()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.