Class FailureAnalysis

    • Constructor Detail

      • FailureAnalysis

        public 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. The failure had the given underlying cause.
        Parameters:
        description - the description
        action - the action
        cause - the cause
    • Method Detail

      • getDescription

        public String getDescription()
        Returns a description of the failure.
        Returns:
        the description
      • getAction

        public String getAction()
        Returns the action, if any, to be taken to address the failure.
        Returns:
        the action or null
      • getCause

        public Throwable getCause()
        Returns the cause of the failure.
        Returns:
        the cause